Commit Graph

15 Commits

Author SHA1 Message Date
Johny Mattsson ea59007bc3 WiFi module documentation and updates.
Addresses one point of #1615.
2017-01-03 12:57:45 +11:00
Johny Mattsson fe602d2d7e Removed all currently-unused code & docs.
Heading towards having only ESP32-aware/capable code in this branch.
2016-09-21 13:47:44 +10:00
dnc40085 1b4234e2d3 Add details to WiFi module documentation (#1294)
Update descriptions of `wifi.setmode`, `wifi.sta.config` and `wifi.ap.config` to inform user of configuration persistence.
2016-05-14 23:04:20 +02:00
dnc40085 526f5457a2 Fixed some errors in wifi documentation (#1279)
Changed Parameters in `wifi.sta.status()` to match constants in source.

Fixed typo in example for `wifi.eventmon.register()`.
2016-05-02 13:57:18 +02:00
Marcel Stör 8dbbe40fb8 Improve docs wrt to auto-connect vs connect, addresses #1273 2016-04-29 19:21:25 +02:00
dnc40085 5e9ab01523 Modified wifi module
Implement SDK event monitor
Move wifi status event monitor code into seperate file
(app/modules/wifi_eventmon.c)
Modify wifi lua callback registration code.
Add Functions wifi.ap.deauth and wifi.sta.getrssi
Rework wifi event monitor to use tasking interface
fix for Lua coroutine compatibility issue
Made changes Suggested by TerryE

Also, moved code that sets the default host name out of
luaopen_wifi_init and into a separate function and added a post_task_low
entry in it's place.

Replaced some if test then return error lines with
luaL_argcheck
Add check for malloc null return in wifi.eventmon 
to catch out of memory errors
2016-03-31 19:01:41 -07:00
dnc40085 7def6ec7cf fix for #1065
Also changed wifi.sta.eventMonStop("unreg all") to
wifi.sta.eventMonStop(1) and wifi.sta.eventMonReg(wifi.status, "unreg")
to wifi.sta.eventMonReg(wifi.status)
2016-03-13 09:51:48 -07:00
Marcel Stör 202cc1a12a Add meta-info block to every module doc page 2016-03-06 08:56:28 +01:00
Marcel Stör f087908d62 Disable SmartConfig by default 2016-03-01 21:32:24 +01:00
San 598b098184 Fix example code in WiFi Module Doc 2016-01-20 09:34:45 +08:00
Marcel Stör 96a05dcd41 Fix syntax for optional parameters for a few modules 2016-01-17 14:14:34 +01:00
Marcel Stör b03a669683 Add documentation for new wifi functions 2016-01-15 23:06:09 +01:00
Marcel Stör e1733f8d3a Remove extra comma in wifi docs 2016-01-15 00:00:49 +01:00
Marcel Stör 6480ba7282 Complete wifi docs transition 2016-01-14 23:27:38 +01:00
Johny Mattsson 5fc553c7ce Transferred top-level WiFi module docs.
Note that this does not include wifi.sta, wifi.ap or wifi.ap.dhcp docs.
2016-01-13 21:55:18 +11:00