Skip to content

v0.9.1: bug fixes for state save/restore

Compare
Choose a tag to compare
@terrillmoore terrillmoore released this 05 Jul 22:02
· 38 commits to master since this release
caceeb4

A number of bug fixes related to session saving. These changes generally make the design more robust against changes between versions.

  • Check size and tag of SessionChannelMask when restoring a session (#169).
  • Set size and tag of SessionChannelMask when saving (#170).
  • Don't use the results of ABP provisioning info for OTAA initialization unless saved SessionState is valid (#171).
  • Add a method to Arduino_LoRaWAN to match session state against the configuration for the LMIC. (#172).
  • Define a SessionChannelMask tag for CN470-like configurations, and allow for such configurations when reading the state (#173).
    • Update the standard event processor: on EV_JOINING, call client methods to re-initialize both the active state and the saved state according to regional defaults (#176).