1. 21 Feb, 2016 1 commit
  2. 18 Feb, 2016 3 commits
  3. 17 Feb, 2016 1 commit
    • TerryE's avatar
      Add New Tasking I/F and rework GPIO, UART, etc to support it · 49733f6f
      TerryE authored
      As with the last commit this rolls up the follwowing, but include the various
      review comments on the PR.
      
      -   **Documentation changes**. I've added the taks FAQ as a stub new Extension
      developer FAQ, and split the old FAQ into a Lua Developer FAQ and a Hardware
      FAQ.
      
      -   **Tasking I/F**.  New `app/task/Makefile`, `app/task/task.c`,
      `app/include/task/task.h` and `app/Makefile` as per previous commit.  Cascade
      changes to `app/driver/uart.c`, `app/include/driver/uart.h`,
      `app/user/user_main.c` and `app/modules/node.c`
      
      -   **GPIO Rework** to `app/modules/gpio.c` and `pin_map.[hc]`, `platform.[hc]`
      in `app/platform`
      
      -   **Other Optimisations** Move the `platform_*_exists()` from
      `app/platform/common.c` to static inline declarations in `platform.h` as
      this generates faster, smaller code. Move lgc.a routines out of iram0.
      49733f6f
  4. 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
  5. 13 Feb, 2016 2 commits
  6. 09 Feb, 2016 1 commit
  7. 07 Feb, 2016 1 commit
    • Uri Shaked's avatar
      Fix secure MQTT connections · 31a62a9e
      Uri Shaked authored
      Call `espconn_secure_set_size()` before calling `espconn_secure_connect()`, similar to how the http module works
      31a62a9e
  8. 06 Feb, 2016 1 commit
    • Uri Shaked's avatar
      Fix secure TCP connections · ce498462
      Uri Shaked authored
      Call `espconn_secure_set_size()` before calling `esp_secure_connect()`, should fix issues like #710 and #520
      ce498462
  9. 05 Feb, 2016 1 commit
  10. 02 Feb, 2016 1 commit
  11. 01 Feb, 2016 1 commit
    • 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
  12. 29 Jan, 2016 2 commits
  13. 28 Jan, 2016 1 commit
  14. 27 Jan, 2016 1 commit
  15. 26 Jan, 2016 2 commits
  16. 23 Jan, 2016 1 commit
  17. 21 Jan, 2016 1 commit
  18. 20 Jan, 2016 1 commit
  19. 19 Jan, 2016 1 commit
  20. 18 Jan, 2016 2 commits
    • Thomas Soëte's avatar
      ws2812 data buffer · 47b44229
      Thomas Soëte authored
      To create a size led long buffer:
      buffer = ws2812.newBuffer(size);
      
      To fill the buffer:
      buffer:fill(g, r, b)
      
      To get a particular led color:
      g, r, b = buffer:get(index)
      
      To set a particular led color:
      buffer:set(index, g, r, b);
      
      To send the buffer:
      buffer:write(pin);
      47b44229
    • Thomas Soëte's avatar
      Rewrite code to use UART1 instead of bit-banging. · 51bb8a50
      Thomas Soëte authored
      It allows keeping interrupts enabled but force to use GPIO2.
      51bb8a50
  21. 15 Jan, 2016 1 commit
  22. 14 Jan, 2016 3 commits
  23. 12 Jan, 2016 1 commit
  24. 10 Jan, 2016 1 commit
  25. 04 Jan, 2016 1 commit
  26. 03 Jan, 2016 2 commits
  27. 02 Jan, 2016 1 commit
  28. 29 Dec, 2015 1 commit
  29. 28 Dec, 2015 1 commit
  30. 23 Dec, 2015 1 commit
  31. 21 Dec, 2015 1 commit