Skip to content

Commit

Permalink
v4.7.0 release
Browse files Browse the repository at this point in the history
Closes #1394
  • Loading branch information
mluis1 committed Dec 9, 2022
1 parent b566431 commit 672b37d
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 7 deletions.
62 changes: 62 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,68 @@ Please refer to [Releases pre-certification-results](https://github.com/Lora-net

## [Unreleased]

## [4.7.0] - 2022-12-09

### General

- Release based on "LoRaWAN specification 1.0.4" and "LoRaWAN specification 1.1.0 + FCntDwn ERRATA" with "LoRaWAN Regional Parameters 2-1.0.3"
- GitHub reported issues corrections.

### Known limitations

- SAMR34 platform does not implement NVM storage functionality. This is a requirement for LoRaWAN versions greater or equal to 1.0.4.
No work on this subject is forseen by the maintainers. Implementation proposals are welcome.

### Added

- Trigger NVM update on `MacGroup2.DutyCycleOn` change
- Configure radio sync word upon state restoration from NVM
- Added missing return status initialization for Class A
- Added a check for `GroupId` in order to avoid out of bounds access
- Make LBT RSSI free channel threshold and carrier sense time (CST) parameters configurable
- Signal NVM data change in `LoRaMacMc*` functions
- Teach `LoRaMacIsBusy` return false if the MAC is stopped
- Added support for new release of ARIB STD-T108 Ver1.4 under AS923 region
- Support LoRaWAN 1.1 with ATECC608A/B secure element
- Added a function to reset the stack internal state machine
- Added an option for MAC commands to verify against an explicit confirmation
- Added a check to verify that `SystemMaxRxError` provided value is in the range 0..500 ms

### Changed

- Updated regions implementation to regional parameters RP2-1.0.3
- Move AdrAckLimit and AdrAckDelay to NVM `MacGroup2`
- Refactored and improved the way the duty-cycle is managed

### Fixed

- Fixed class B multicast handling in `LoRaMacClassBProcessMulticastSlot()`
- Restore `RegionGroup2` in `RestoreNvmData`
- Fix a duty cycle related deadlock in `ScheduleTx`
- Fixed where `LastDownFCnt` update takes place for LoRaWAN 1.1.x
- Fixes for class C activation and deactivation
- Don't `memset` the TX/RX buffer when radio is set to receive mode
- Fixed usage of wrong API for general purpose keys
- Fixed and refactored JoinReq, `ReJoinType0Req`, `ReJoinType1Req`, `ReJoinType2Req` handling
- Fixed Rx windows timer handling
- Fixed FUOTA fragmentation implementation
- Fixed time credits check as proposed
- Fixed potential buffer overflow in `ProcessRadioRxDone` - [Security](###security)
- Applied the proposed fix for the CRC check of empty `struct`
- Fixed inconsistent handling of undefined callbacks
- Fixed `HardFault_Handler` for Cortex-M0 targets
- Fixed ABP join handling to be similar to OTAA join handling
- Fixed issue with RX2 data rate in case of 0x0F for `RxParamSetupReq` and `JoinAccept`

### Removed

- Removed useless `FOptsLen` filed check
- Removed unused `ACTIVE_REGION` pre-processing check

### Security

- Security breach found by Simon Wörner(@SWW13) please refer to security advisory - [security advisory - CVE-2022-39274](https://github.com/Lora-net/LoRaMac-node/security/advisories/GHSA-7vv8-73pc-63c2)

## [4.6.0] - 2022-01-11

### General
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
\____ \| ___ | (_ _) ___ |/ ___) _ \
_____) ) ____| | | || |_| ____( (___| | | |
(______/|_____)_|_|_| \__)_____)\____)_| |_|
(C)2013-2021 Semtech
(C)2013-2022 Semtech

___ _____ _ ___ _ _____ ___ ___ ___ ___
/ __|_ _/_\ / __| |/ / __/ _ \| _ \/ __| __|
Expand All @@ -22,8 +22,8 @@ This project has 2 active branches in place.

| Branch | L2 spec | RP spec | Tag/Milestone | Class | Comments |
| ------------- |:-------------:|:---------:|:---------:|:---------:|:--------------|
| | [1.0.4](https://resources.lora-alliance.org/technical-specifications/ts001-1-0-4-lorawan-l2-1-0-4-specification) / [1.1.0](https://resources.lora-alliance.org/technical-specifications/lorawan-specification-v1-1) + [FCntDwn ERRATA](https://resources.lora-alliance.org/technical-specifications/fopts-encryption-usage-of-fcntdwn-errata-on-the-lorawan-l2-1-1-specification) | [2-1.0.1](https://resources.lora-alliance.org/technical-specifications/rp2-1-0-1-lorawan-regional-parameters) | [v4.6.0](https://github.com/Lora-net/LoRaMac-node/releases/tag/v4.6.0) | A/B/C | LoRaWAN L2 1.0.4 - **_Released_** |
| [master](https://github.com/Lora-net/LoRaMac-node/tree/master) | [1.0.4](https://resources.lora-alliance.org/technical-specifications/ts001-1-0-4-lorawan-l2-1-0-4-specification) / [1.1.0](https://resources.lora-alliance.org/technical-specifications/lorawan-specification-v1-1) + [FCntDwn ERRATA](https://resources.lora-alliance.org/technical-specifications/fopts-encryption-usage-of-fcntdwn-errata-on-the-lorawan-l2-1-1-specification) | [2-1.0.3](https://resources.lora-alliance.org/technical-specifications/rp2-1-0-3-lorawan-regional-parameters) | [M 4.7.0](https://github.com/Lora-net/LoRaMac-node/milestone/10) | A/B/C | LoRaWAN L2 1.0.4 / 1.1.0 |
| | [1.0.4](https://resources.lora-alliance.org/technical-specifications/ts001-1-0-4-lorawan-l2-1-0-4-specification) / [1.1.0](https://resources.lora-alliance.org/technical-specifications/lorawan-specification-v1-1) + [FCntDwn ERRATA](https://resources.lora-alliance.org/technical-specifications/fopts-encryption-usage-of-fcntdwn-errata-on-the-lorawan-l2-1-1-specification) | [2-1.0.3](https://resources.lora-alliance.org/technical-specifications/rp2-1-0-3-lorawan-regional-parameters) | [v4.7.0](https://github.com/Lora-net/LoRaMac-node/releases/tag/v4.7.0) | A/B/C | LoRaWAN L2 1.0.4 - **_Released_** |
| [master](https://github.com/Lora-net/LoRaMac-node/tree/master) | [1.0.4](https://resources.lora-alliance.org/technical-specifications/ts001-1-0-4-lorawan-l2-1-0-4-specification) / [1.1.0](https://resources.lora-alliance.org/technical-specifications/lorawan-specification-v1-1) + [FCntDwn ERRATA](https://resources.lora-alliance.org/technical-specifications/fopts-encryption-usage-of-fcntdwn-errata-on-the-lorawan-l2-1-1-specification) | [2-1.0.3](https://resources.lora-alliance.org/technical-specifications/rp2-1-0-3-lorawan-regional-parameters) | [v4.7.0](https://github.com/Lora-net/LoRaMac-node/milestone/10) | A/B/C | LoRaWAN L2 1.0.4 / 1.1.0 |
| [v5.0.0-branch](https://github.com/Lora-net/LoRaMac-node/tree/v5.0.0-branch) | [1.0.4](https://resources.lora-alliance.org/technical-specifications/ts001-1-0-4-lorawan-l2-1-0-4-specification) / [1.1.0](https://resources.lora-alliance.org/technical-specifications/lorawan-specification-v1-1) + [FCntDwn ERRATA](https://resources.lora-alliance.org/technical-specifications/fopts-encryption-usage-of-fcntdwn-errata-on-the-lorawan-l2-1-1-specification) | [2-1.0.3](https://resources.lora-alliance.org/technical-specifications/rp2-1-0-3-lorawan-regional-parameters) | [M 5.0.0](https://github.com/Lora-net/LoRaMac-node/milestone/11) | A/B/C | LoRaWAN L2 1.0.4 / 1.1.0 - Adds support for LR-FHSS modulation |

This project fully implements ClassA, ClassB and ClassC end-device classes and it also provides SX1272/73, SX1276/77/78/79, SX1261/2 and LR1110 radio drivers.
Expand All @@ -48,7 +48,7 @@ For each currently supported platform example applications are provided.

This project currently provides support for the below platforms.
This project can be ported to other platforms using different MCU than the ones currently supported.
The [Porting Guide](https://stackforce.github.io/LoRaMac-doc/LoRaMac-doc-v4.5.1/_p_o_r_t_i_n_g__g_u_i_d_e.html) document provides guide lines on how to port the project to other platforms.
The [Porting Guide](https://stackforce.github.io/LoRaMac-doc/LoRaMac-doc-v4.7.0/_p_o_r_t_i_n_g__g_u_i_d_e.html) document provides guide lines on how to port the project to other platforms.

* NAMote72
* [NAMote72 platform documentation](doc/NAMote72-platform.md)
Expand Down
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

## Supported Versions

Vulnerability fixes will always be applied on [develop](https://github.com/Lora-net/LoRaMac-node/tree/develop) branch and included in next release.
Vulnerability fixes will always be applied on [master](https://github.com/Lora-net/LoRaMac-node/tree/master) branch and included in next release.
We may consider to hotfix the most recent release depending on the circumstances. Older releases will not be hotfixed.

| Version | Supported |
| ------- | ------------------ |
| [develop](https://github.com/Lora-net/LoRaMac-node/tree/develop) | :white_check_mark: |
| [master](https://github.com/Lora-net/LoRaMac-node/tree/master) | :white_check_mark: |
| [latest release](https://github.com/Lora-net/LoRaMac-node/releases/latest) | :question: |
| older releases | :x: |

Expand Down
2 changes: 1 addition & 1 deletion src/apps/LoRaMac/common/githubVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
extern "C" {
#endif

#define GITHUB_VERSION 0x04060000 // 4.6.0.0
#define GITHUB_VERSION 0x04070000 // 4.7.0.0

#ifdef __cplusplus
}
Expand Down

0 comments on commit 672b37d

Please sign in to comment.