1. 14 Feb, 2016 1 commit
    • Henk Vergonet's avatar
      Add i2c based module for am2320 humidity sensor · a1c1e015
      Henk Vergonet authored
      Example use:
      > sda=1
      > scl=2
      > am2320.init(sda,scl)
      > rh, t = am2320.read()
      > print(string.format("Temperature: %s degrees C", t / 10))
      > print(string.format("RH: %s %%", rh / 10))
      
      signed-off-by: henk.vergonet@gmail.com
      a1c1e015
  2. 10 Feb, 2016 5 commits
  3. 09 Feb, 2016 3 commits
  4. 08 Feb, 2016 1 commit
  5. 07 Feb, 2016 3 commits
  6. 06 Feb, 2016 5 commits
  7. 02 Feb, 2016 1 commit
  8. 01 Feb, 2016 2 commits
    • Johny Mattsson's avatar
      Merge pull request #987 from DiUS/enduser_enhanced · fcb14a33
      Johny Mattsson authored
      Enhancements to enduser_setup module
      fcb14a33
    • Johny Mattsson's avatar
      Fixes and enchancements for enduser_setup module. · 86839d6e
      Johny Mattsson authored
      Fixes:
      
      * Removed spurious \0 bytes being sent to the client in many cases.
      
      * Properly terminated 404 header.
      
      * Now including Content-length: header for index.html (including built-in).
      
        Clients otherwise had to wait for their own timeout before considering
        the page load complete, which resulting in an unpleasant sluggish
        experience.
      
      * Switched form submission to GET, as iOS sometimes does not include the
        body in the same packet as the POST header, which led to the module
        not finding the form values.
      
      * Added redirect after form submission to avoid blank-page-in-browser.
      
      * Moved common "enduser_setup" prefix to a lua_pushfstring() to reduce
        string literal overhead.
      
      * Replaced cached lua_State* with calls to lua_getstate(), as in other
        modules.
      
      * Fixed broken appending of MAC to the SSID.
      
      * Fixed up macro definitions to not break `if` clauses unintentionally.
      
      Enhancements:
      
      * Support for scanning for available WiFi networks, and picking from the list.
      
      * Support for retrieving the current WiFi station status.
      
      * Added "manual" mode, where the module does not (re)configure the AP setup,
        nor shut down automatically. Default is still automatic, as before.
      
      * Updated docs for new `enduser_setup.manual()` function.
      86839d6e
  9. 31 Jan, 2016 5 commits
  10. 30 Jan, 2016 1 commit
  11. 29 Jan, 2016 4 commits
  12. 28 Jan, 2016 6 commits
  13. 27 Jan, 2016 3 commits