1. 04 Apr, 2017 2 commits
    • dnc40085's avatar
      Add wifi.suspend() and node.sleep() (#1231) · 41a5736d
      dnc40085 authored
      * Exposed forced sleep API and more
      Added timer suspend functionality
      * wifi.suspend
      * wifi.resume
      * node.sleep 
      * tmr.suspend
      * tmr.suspend_all
      * tmr.resume
      * tmr.resume_all
      * Implement timer suspend functionality
      * Fix for uart TX glitch
      * Made some modifications to the error reporting
      41a5736d
    • Marcel Stör's avatar
      Admonition style fix · 176443c0
      Marcel Stör authored
      176443c0
  2. 31 Mar, 2017 1 commit
    • dnc40085's avatar
      Deprecate wifi.sta.eventMonReg (#1889) · 50a5c021
      dnc40085 authored
      * Update wifi event monitor documentation
      
      Added a note to `wifi.eventmon.register()` and `wifi.sta.eventmonreg()`
      * Add deprecation note to `wifi.sta.eventMonReg()`
      50a5c021
  3. 07 Mar, 2017 1 commit
  4. 08 Feb, 2017 1 commit
    • Jason Follas's avatar
      Support clearing WiFi config (#1761) · 2ab28df9
      Jason Follas authored
      * Add wifi.sta.clearconfig(). Adjust password validation to match 2.0.0 SDK rules (no min length enforced, i.e. for WEP)
      * Updat comments about WEP key not having a minimum
      * Documentation: add note about node.restore() to wifi.sta.clearconfig() docs, and add SDK verbiage to describe what node.restore() impacts.
      * Normaliz if statements
      * Convert leading tabs to leading spaces for consistency
      2ab28df9
  5. 01 Jan, 2017 1 commit
  6. 29 Dec, 2016 1 commit
  7. 23 Dec, 2016 2 commits
  8. 06 Nov, 2016 1 commit
    • dnc40085's avatar
      Update to the wifi module (#1497) · 73773fd8
      dnc40085 authored
      * 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
      73773fd8
  9. 27 Aug, 2016 1 commit
  10. 31 Jul, 2016 1 commit
  11. 14 Jul, 2016 1 commit
  12. 29 Jun, 2016 1 commit
  13. 21 Jun, 2016 1 commit
  14. 04 Jun, 2016 1 commit
  15. 14 May, 2016 1 commit
  16. 02 May, 2016 1 commit
  17. 29 Apr, 2016 1 commit
  18. 01 Apr, 2016 1 commit
    • dnc40085's avatar
      Modified wifi module · 5e9ab015
      dnc40085 authored
      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
      5e9ab015
  19. 13 Mar, 2016 1 commit
    • dnc40085's avatar
      fix for #1065 · 7def6ec7
      dnc40085 authored
      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)
      7def6ec7
  20. 06 Mar, 2016 1 commit
  21. 01 Mar, 2016 1 commit
  22. 20 Jan, 2016 1 commit
  23. 17 Jan, 2016 1 commit
  24. 15 Jan, 2016 1 commit
  25. 14 Jan, 2016 2 commits
  26. 13 Jan, 2016 1 commit