Releases: EnviroDIY/LoRa_AT
Releases · EnviroDIY/LoRa_AT
v0.4.1
Added
- Added functions for proper conversion between GPS time and Unix time.
- Functionality taken from GPS Time Conversion Algorithm
Fixed
- Corrected offsets with GPS epoch times and other epoch starts
v0.4.0
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(...)
, andisNetworkConnected()
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.
- The default backoff parameters can be changed with the following defines:
- This changes the inputs for the
Added
- Added a function to calculate backoff using exponential calculation with jitter.
v0.3.1
Fixed
- Fixed overly greedy consumption of module debug output.
- Fixed some unused var warnings