1. 12 Nov, 2015 1 commit
  2. 05 Nov, 2015 1 commit
    • Johny Mattsson's avatar
      Fix to do TCP port number randomization at boot. · f82415f6
      Johny Mattsson authored
      This addresses the issue where a server would otherwise reject a valid
      connection attempt from a rebooted node, due to the server thinking that
      packet belonged to a recently closed session. By starting off the local
      TCP port numbers at random* points each boot the risk of port reuse
      across a reboot is significantly reduced.
      
      *) As random as can be had via the lower 12 bits of the ccounter.
      f82415f6
  3. 01 Nov, 2015 1 commit
  4. 12 Oct, 2015 4 commits
  5. 10 Jul, 2015 2 commits
    • Johny Mattsson's avatar
      Imported reworked rtctime support. · dd38a0a0
      Johny Mattsson authored
      dd38a0a0
    • Johny Mattsson's avatar
      Imported RTC+sleep timekeeping from an internal DiUS project. · 21874249
      Johny Mattsson authored
      Added Lua module rtctime to interface with it.
      
      This keeps as accurate time as is possible on the ESP8266, including across
      deep sleeps (provided rtctime.dsleep() is used rather than node.dsleep()).
      Intended to be used together with NTP for high accuracy time keeping. The
      API is via rtctime.{get,set}timeofday(), working from Unix epoch.
      
      Note that 160MHz CPU clock is not currently supported by the rtctime code,
      as it is only aware of the 52MHz boot clock and the regular 80Mhz default
      clock.
      
      See rtctime.h for detailed info on how this all works.
      21874249
  6. 23 Jun, 2015 2 commits
  7. 29 May, 2015 1 commit
  8. 21 May, 2015 1 commit
  9. 02 Apr, 2015 1 commit
  10. 15 Mar, 2015 1 commit
  11. 23 Jan, 2015 1 commit
  12. 06 Jan, 2015 1 commit
  13. 05 Jan, 2015 2 commits
  14. 30 Dec, 2014 1 commit
  15. 22 Dec, 2014 1 commit