1. 10 Jan, 2018 1 commit
  2. 21 May, 2017 2 commits
    • dnc40085's avatar
      Add event callbacks to wifi.sta.config() and wifi.ap.config() and more (#1903) · 169cb69e
      dnc40085 authored
      * Add event callbacks to wifi.sta.config() and wifi.ap.config() and more
      
      Added option to register event callbacks during configuration of both
      station and AP.
      Added option to register event callbacks to `wifi.sta.connect()` and
      `wifi.sta.disconnect()`
      
      * Add note about event registration to wifi module documentation
      
      Other minor changes to wifi documentation are also included
      
      * Add more detail to documentation for wifi.sta.config()
      169cb69e
    • dnc40085's avatar
      Removed wifi station event monitor (#1900) · 7b1f0223
      dnc40085 authored
      The following functions were removed:
       - `wifi.sta.eventMonReg()`
       - `wifi.sta.eventMonStart()`
       - `wifi.sta.eventMonStop()`
       
      The corresponding documentation has also been removed
      
      This PR addresses issue #1893
      7b1f0223
  3. 15 May, 2017 1 commit
  4. 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
  5. 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