Skip to content

Releases: EnviroDIY/LoRa_AT

v0.4.1

25 Feb 00:02
Compare
Choose a tag to compare

Added

Fixed

  • Corrected offsets with GPS epoch times and other epoch starts

v0.4.0

27 Jan 23:54
Compare
Choose a tag to compare

Changed

  • Breaking Removed timeout from join and get connection functions; replaced with a number of join/check attempts and the initial backoff.
    • This changes the inputs for the joinOTAA(...), joinABP(...), and isNetworkConnected() functions - although if you were previously accepting defaults for not required arguments, you do not need to change your code.
    • After the initial backoff, further backoff delays will be calculated using exponential calculation with jitter.
    • The default number of attempts is 10, the default initial backoff is 5s, and the default backoff factor is 1.5. If all attempts are used, the total delay will be (approximately) 9.5 minutes. The real delay will vary because of a random jitter of up to 20% added to or subtracted from each delay.
      • The default backoff parameters can be changed with the following defines:
        • DEFAULT_JOIN_ATTEMPTS
        • DEFAULT_INITIAL_BACKOFF
        • DEFAULT_BACKOFF_FACTOR
      • The number of join attempts and the initial backoff can also be changed in all functions that use it, but the backoff factor can only be changed with the define.

Added

  • Added a function to calculate backoff using exponential calculation with jitter.

v0.3.1

21 Jan 20:06
Compare
Choose a tag to compare

Fixed

  • Fixed overly greedy consumption of module debug output.
  • Fixed some unused var warnings