Skip to content

Release 7: Add wlan bootstrap mode, add tsl2560, generic option support (set/unset), add gpio counter support

Compare
Choose a tag to compare
@eriksl eriksl released this 17 Jul 17:09
· 1690 commits to master since this release

Changelog (also see the commit logs)

  • Add GPIO asynchronous counter support. Just like it says, it counts the input going low or high. Unfortunately we can't specify which edge to count, the SDK code doesn't allow us to. Add a debouncing time in milliseconds.
  • UART settings default to 115200N8, as the system also spits out messages at this setting.
  • Add WLAN SSID and password to our own config, for some reason we can no longer use the settings from the system.
  • Add WLAN bootstrap mode, after power-on you have 10 seconds to type (or even better: copy&paste) the SSID name, a space, the password and a linefeed (0x0a, ^J) to the UART and it will be used to connect WLAN.
  • Several i2c robustness improvements
  • Add TSL2550 sensor
  • Enhance sensor dump command:
    parameter = 0 or absent: short dump, only detected sensors
    parameter = 1: longer dump, show all known sensors
    parameter = 2: longer dump, show all known sensors with verbose error
  • Replace lineair (float) calculations for some i2c sensors by integer or simplified float code, saves on iram usage
  • Replace commands print-debug and strip-telnet by a generic "set" and "unset" option command interface, add tsl-high-sens option to make the tsl i2c sensors work in a higher sensibility mode (recommended unless in direct sunlight, where it will overflow).
  • Add some stuff to prevent the tsl2550 and tsl2561 to be confused (same i2c address), similarly the lm75/tmp versus ds1621/ds1631/ds1721 which on the same address but not alike.