Mark McGinty
Mark McGinty

Reputation: 756

Documented symbol wifi.NULLMODE is nil?

I love the new tech ref at readthedocs.com, very nice... I just wish I could find firmware that matches them. :-) I would like to call:

wifi.setmode(wifi.NULLMODE)

But it gives an error: "bad argument #1 to 'setmode' (number expected, got nil)"

wifi.STATION is 1, wifi.SOFTAP is 2, wifi.STATIONAP is 3, so I tried 0, -1 and 4, all gave an error: "wrong arg type".

I downloaded what appeared to be the latest firmware from git -- is there some other official source?

Any insight appreciated.

Upvotes: 0

Views: 181

Answers (1)

Related Questions