Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

### Fixed
* Fixed session channel mask restoration by restoring the LoRaWAN session after region initialization.
* Save session not joined state to NVM after leaving network.

## [v4.8.0] 2024-12-20

Expand Down
3 changes: 3 additions & 0 deletions lbm_lib/smtc_modem_core/lr1mac/src/lr1mac_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,9 @@ void lr1mac_core_join_status_clear( lr1_stack_mac_t* lr1_mac_obj )

// Revert ADR modem in case the leave network command is called before join success
lr1_mac_obj->adr_mode_select = lr1_mac_obj->adr_mode_select_tmp;

// Persist NOT_JOINED session state so it is not restored after reset
lr1mac_core_context_save( lr1_mac_obj );
}

void lr1mac_core_join_session_restore( lr1_stack_mac_t* lr1_mac_obj )
Expand Down