nodemcu-firmware/app
dnc40085 73773fd8a5 Update to the wifi module (#1497)
* Removed inline documentation for several functions and update comments
Since documentation is now part of the repository, the inline
documentation just adds to the already huge wifi.c

* Wifi module: add new functionality, update documentation

Functions Added:
wifi.getdefaultmode(): returns default wifi opmode
wifi.sta.apchange(): select alternate cached AP
wifi.sta.apinfo(): get cached AP list 
wifi.sta.aplimit(): set cached AP limit
wifi.sta.getapindex(): get index of currently configured AP
wifi.sta.getdefaultconfig(): get default station configuration
wifi.ap.getdefaultconfig(): get default AP configuration

functions modified:
wifi.setmode: saving mode to flash is now optional
wifi.sta.config: now accepts table as an argument and save config to
flash is now optional
wifi.sta.getconfig: added option to return table
wifi.ap.config: save config to flash is now optional
wifi.ap.getconfig: added option to return table

Documentation changes:
- Modified documentation to reflect above changes
- Removed unnecessary inline documentation from `wifi.c` 
- Updated documentation for `wifi.sta.disconnect`to address issue #1480 
- Fixed inaccurate documentation for function `wifi.sleeptype`
- Added more details to `wifi.nullmodesleep()`

* Move function `wifi.sleeptype()` to `wifi.sta.sleeptype()`

* Fixed problem where wifi.x.getconfig() returned invalid strings when
ssid or password were set to maximum length.

* fix error in documentation for `wifi.sta.getapindex`

* Renamed some wifi functions
wifi.sta.apinfo -> getapinfo
wifi.sta.aplimit -> setaplimit 
wifi.sta.apchange -> changeap

also organized the wifi_station_map array
2016-11-06 20:51:01 +01:00
..
cjson Update modules to be Lua coroutine compatible (#1423) 2016-08-02 22:33:05 +02:00
coap Update modules to be Lua coroutine compatible (#1423) 2016-08-02 22:33:05 +02:00
crypto Added crypto.new_hmac() feature. (#1499) 2016-09-16 17:46:39 +02:00
dhtlib Changed os_intr_xxx to ets_intr_xxx. 2015-10-12 13:26:04 +11:00
driver avoid task queue overrun for serial input (#1540) 2016-10-17 21:56:38 -04:00
esp-gdbstub Add the esp-gdbstub to enable debugging (#1506) 2016-09-21 11:38:12 +10:00
fatfs Add FatFs and SD card support (#1397) 2016-09-05 20:17:13 +02:00
http Change HTTP failures from debug to error messages (#1568) 2016-10-29 14:04:23 +02:00
include Add ssd1306_128x32 for U8G (#1571) 2016-10-30 00:19:04 +03:00
libc Version of printf that doesn't suffer from buffer overflows (#1564) 2016-10-27 09:38:47 +03:00
lua Version of printf that doesn't suffer from buffer overflows (#1564) 2016-10-27 09:38:47 +03:00
lwip Make DNS engine RFC 5452 compliant (#1324) 2016-08-20 22:19:31 +02:00
modules Update to the wifi module (#1497) 2016-11-06 20:51:01 +01:00
mqtt Initial version of unsubscribe 2016-03-20 18:44:06 -04:00
net Version of printf that doesn't suffer from buffer overflows (#1564) 2016-10-27 09:38:47 +03:00
pcm Add pcm module. (#1255) 2016-06-05 23:21:36 +02:00
platform fix dereferencing NULL pointer in vfs_errno() (#1539) 2016-10-13 16:48:37 +09:00
smart Enable -std=gnu11 for modules dir. 2016-01-20 19:40:47 +11:00
spiffs Version of printf that doesn't suffer from buffer overflows (#1564) 2016-10-27 09:38:47 +03:00
task Add New Tasking I/F and rework GPIO, UART, etc to support it 2016-02-17 17:13:17 +00:00
tsl2561 Enable -std=gnu11 for tsl2561 dir 2016-03-22 22:26:44 +01:00
u8glib Update u8glib to v1.19.1 and add setContrast() (#1385) 2016-08-02 22:29:34 +02:00
ucglib enable -std=gnu11 for u8glib and ucglib dir 2016-03-22 22:26:36 +01:00
user Version of printf that doesn't suffer from buffer overflows (#1564) 2016-10-27 09:38:47 +03:00
websocket Set espconn's secure buffer size once at initialization (#1466) 2016-09-04 22:45:46 +02:00
.gitignore seperate user_config.h to speed-up compile when modules disabled/enabled 2015-03-06 11:59:04 +08:00
Makefile Add the esp-gdbstub to enable debugging (#1506) 2016-09-21 11:38:12 +10:00