You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+38-1Lines changed: 38 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,43 @@ All notable changes to this project will be documented in this file.
4
4
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
7
+
## [v3.2.4] 2022-08-23
8
+
9
+
### Added
10
+
11
+
* AS923 group 4 Regional Parameters
12
+
* WW2G4 Regional Parameters for LoRaWAN protocol emulation
13
+
* Support of sx128x radio
14
+
15
+
### Changed
16
+
17
+
*[lr11xx_driver] Update to version `v2.1.1`
18
+
*[sx126x_driver] Update to version `v2.1.0`
19
+
*[makefile] remove ARM Cortex option from makefile to make LoRa Basics Modem completely agnostic from the MCU. Makefile shall be called with a new MCU_FLAGS option containing all core options
20
+
*[makefile] Align built target directory with crypto compilation options
21
+
*[utility/example] Update PA configuration process in `ral_lr11xx_bsp_get_tx_cfg` function.
22
+
*[utility/example] Update `stm32l476rgtx_flash.ld` files to fix stack start and stop address
23
+
*[utility/example] Remove `ral_lr11xx_bsp_get_rssi_calibration_table` workaround as the lr11xx driver was fixed
24
+
*[utility/example] Fix `hal_rtc_get_time_ms` so that it returns a full range value
25
+
* Clock Sync Service with ALC Sync source can generate events:
26
+
* SMTC_MODEM_EVENT_TIME_VALID_BUT_NOT_SYNC
27
+
* Clock Sync Service with DeviceTimeReq source can generate events:
28
+
* SMTC_MODEM_EVENT_TIME_VALID_BUT_NOT_SYNC
29
+
* SMTC_MODEM_EVENT_TIME_NOT_VALID
30
+
31
+
### Fixed
32
+
33
+
*[LFU] LoRa Basics Modem now rejects properly files with a size between 8181 and 8192 bytes
34
+
*[LFU] Fix issue regarding encryption of files with size higher than 4080 bytes
35
+
*[RP] Fix issue on radio interruption timestamp
36
+
*[LBT] On lr11xx targets, correct outdated LBT pre-hook issue
37
+
*[LBT] Remove log print when uplinking on fsk to avoid adding delay on scheduled tasks
38
+
*[LBT] Moved log print after enqueued the sniffing task in Radio Planer to avoid to add a delays
39
+
*[ADR] In case a MAC command `link_adr_req` with a new channel mask is received, it is now accepted if the custom datarate profile is enabled and configured with the highest datarate of the corresponding region
40
+
*[LFU/Stream] In case of reception of rejoin request from DAS, reset LFU and stream services properly
41
+
*[ClockSyncService/MAC] Fixed an issue where the Clock Synchronization Service was not reloaded when DeviceTimeAns was not received
42
+
*[DeviceTimeReq/MAC] Fixed an issue where the GPS epoch time became invalid if DeviceTimeAns not received
43
+
7
44
## [v3.1.7] 2022-04-22
8
45
9
46
### Added
@@ -31,7 +68,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
31
68
*`smtc_modem_set_crystal_error` renamed to `smtc_modem_set_crystal_error_ppm` and now takes real ppm (previously was ppt)
32
69
*`smtc_modem_get_stack_state`: Added a new stack state `SMTC_MODEM_STACK_STATE_TX_WAIT` when stack is between retransmissions
33
70
*`smtc_modem_time_trigger_sync_request` function does not take `sync_service` parameter anymore, now it will use the current enabled time synchronization service
34
-
*[smtc_modem_hal]:
71
+
*[smtc_modem_hal]:
35
72
*`smtc_modem_hal_irq_is_radio_irq_pending()` function has been replaced with `smtc_modem_hal_radio_irq_clear_pending()`. Now modem only asks to clear radio pending irq
36
73
* LR1110 driver was renamed to LR11xx driver and now also supports LR1120 radio
37
74
* Updated to latest version of SX126x and LR11xx driver
Copy file name to clipboardExpand all lines: README.md
+11-25Lines changed: 11 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@ LoRa Basics Modem supports the following LoRaWAN regions:
20
20
* RU_864
21
21
* US_915
22
22
23
+
LoRa Basics Modem supports an emulation of LoRaWAN protocol for the 2.4GHz global ISM band (WW2G4)
24
+
23
25
### LoRaWAN regional parameters
24
26
25
27
Default regional parameters version supported by LoRa Basics Modem is rp2-1.0.1. It is possible to switch to rp2-1.0.3 at compile time.
@@ -60,42 +62,26 @@ The Hardware Abstraction Layer of LoRa Basics Modem is defined in the `smtc_mode
60
62
LoRa Basics Modem supports the following transceivers:
61
63
62
64
* LR1110 with firmware 0x0307.
65
+
* LR1120 with firmware 0x0101
63
66
* SX1261
64
67
* SX1262
68
+
* SX1280
69
+
* SX1281
65
70
66
71
## Known Limitations
67
72
68
-
*[LFU] In case LoRa Basics Modem is acting in US915 region with datarate DR0, files smaller than 13 bytes are not properly sent and cannot be econstructed on LoRa Cloud side
69
-
*[LFU] LoRa Basics Modem does not reject files with a size between 8181 and 8192 bytes while they cannot be sent properly
70
-
*[LFU] Enabling encryption on a file with a size larger than 4080 bytes will prevent this file from being properly decrypted. Recommendation is to not use encryption for files with a size larger than 4080 bytes.
73
+
*[LFU] In case LoRa Basics Modem is acting in US915 region with datarate DR0, files smaller than 13 bytes are not properly sent and cannot be reconstructed on LoRa Cloud side
71
74
*[charge] Values returned by `smtc_modem_get_charge()` for regions CN470 and CN470_RP1 are not accurate
72
75
*[charge] Values returned by `smtc_modem_get_charge()` for the LR-FHSS based datarate are not accurate
73
-
*[LBT] On LR1110 target, sometimes the LBT pre-hook can be outdated and aborted which leads to no uplink issued (this is due to a radio reset called before starting LBT operation which adds the LR1110 boot delay before any LBT actions) - as workaround, the call to `ral_init()` can be removed from `smtc_modem_core/lr1mac/src/services/smtc_lbt.c`
74
-
*[ADR] When a MAC command `link_adr_req` with a new channel mask is received, it is rejected if the custom datarate profile is enabled and configured with the highest datarate of the corresponding region - as a workaround, make sure there is at least one datarate different from the highest possible one in the custom ADR list
75
-
76
-
In [the simple application example](/utilities/user_app/), the implementation of [smtc_modem_hal_get_time_in_ms](/utilities/user_app/smtc_hal_l4/smtc_hal_rtc.c) does not cover the full scale of the 32-bit counter and will wrap earlier than expected. As a consequence, LoRa Basics Modem may reset after the wrapping time around 4.9 days. Find below a correct implementation:
This workaround requires the following modification to be applied in the radio planner source code - [radio_planner.c, line 423](/smtc_modem_core/radio_planner/src/radio_planner.c):
*[multicast_class_b] Starting a class B multicast session with frequency equal to 0 will always return SMTC_MODEM_RC_INVALID even in the case lbm is acting in regions with frequency hopping beacon
77
+
*[LBT] In case LBT is used (by user's choice or imposed by regional parameters) and if TCXO start time is greater than default RP_MARGIN_DELAY value (8ms), uplinks will never be sent.
78
+
Workaround: At makefile level define RP_MARGIN_DELAY value to `TCXO start time + 3ms`. The consequence is that before rx1 and rx2 windows opening the mcu will be running and waiting during extra time.
93
79
94
80
## Disclaimer
95
81
96
-
This software has been extensively tested when targeting LR1110 / SX1261 / SX1262 for LoRaWAN regions mentioned in [this paragraph](#lorawan-region). For all other combinations of features this software shall be considered an Engineering Sample.
82
+
This software has been extensively tested when targeting LR1110 / LR1120 / SX1261 / SX1262 / SX1280 / SX1281 for LoRaWAN regions mentioned in [this paragraph](#lorawan-region). For all other combinations of features this software shall be considered an Engineering Sample.
97
83
98
-
All customers wanting to leverage LoRa Basics Modem for 2.4GHz running with SX1280 transceiver must still refer to the [release v1.0.1](https://github.com/lorabasics/lorabasicsmodem/releases/tag/v1.0.1) for which Semtech provides technical customer support.
84
+
Modem trace prints can only be used for debug purpose and shall be deactivated for production release.
0 commit comments