All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- [radio_irq]
smtc_modem_hal_radio_irq_clear_pending()
function has been removed
- Add
CONTEXT_KEY_MODEM
to handle specific key context in case lr11xx hardware crypto element is used and that will prevent multiple re-write of the key - Add
CONTEXT_STORE_AND_FORWARD
to handle specific store and forward nvm access - Add
smtc_modem_hal_context_flash_pages_erase
function prototype to erase a chosen flash page (only used for store and forward service) - Add store and forward related functions,
smtc_modem_hal_store_and_forward_get_number_of_pages
andsmtc_modem_hal_flash_get_page_size
- Re-add crashlog management functions
smtc_modem_hal_crashlog_store
,smtc_modem_hal_crashlog_restore
,smtc_modem_hal_crashlog_set_status
,smtc_modem_hal_crashlog_get_status
- Re-add Device Management related functions
smtc_modem_hal_get_temperature
andsmtc_modem_hal_get_voltage_mv
- Add
smtc_modem_hal_user_lbm_irq
function for Real Time OS compatibility
smtc_modem_hal_on_panic
prototype changed to add variadic argumentsSMTC_MODEM_HAL_PANIC
macro implementation does not handle the error trace print directly and relay onsmtc_modem_hal_on_panic
to handle itSMTC_MODEM_HAL_PANIC_ON_FAILURE
macro implementation forwards now the failed expression string tosmtc_modem_hal_on_panic
functionCONTEXT_MODEM
is not used anymore to store key crc in case lr11xx crypto element is used
SMTC_MODEM_HAL_PANIC
macro for any internal modem panic situationSMTC_MODEM_HAL_PANIC_ON_FAILURE
macro for any internal modem panic on expression check- [context] New context type
CONTEXT_FUOTA
for fuota inmodem_context_type_t
smtc_modem_hal_assert_fail
has been replaced bysmtc_modem_hal_on_panic
function- [context]
- In
modem_context_type_t
CONTEXT_LR1MAC
rename inCONTEXT_LORAWAN_STACK
- add
offset
argument forsmtc_modem_hal_context_restore
- add
offset
argument forsmtc_modem_hal_context_store
- In
smtc_modem_hal_get_temperature
functionsmtc_modem_hal_get_voltage
functionsmtc_modem_hal_get_compensated_time_in_s
functionsmtc_modem_hal_get_time_compensation_in_s
functionsmtc_modem_hal_store_crashlog
functionsmtc_modem_hal_restore_crashlog
functionsmtc_modem_hal_set_crashlog_status
functionsmtc_modem_hal_get_crashlog_status
functionsmtc_modem_hal_get_random_nb
functionsmtc_modem_hal_get_signed_random_nb_in_range
functionsmtc_modem_hal_mcu_panic
macrosmtc_modem_hal_lr1mac_panic
macrosmtc_modem_hal_get_radio_irq_timestamp_in_100us
function- [context]
CONTEXT_DEVNONCE
is not used anymore inmodem_context_type_t
(handled inCONTEXT_LORAWAN_STACK
)
- [assert]
smtc_modem_hal_assert(expr)
macro - [assert]
smtc_modem_hal_assert_fail()
function - [time]
smtc_modem_hal_get_time_in_100us()
function - [radio_irq]
smtc_modem_hal_get_radio_irq_timestamp_in_100us()
function
- [radio_irq]
smtc_modem_hal_irq_is_radio_irq_pending()
function has been replaced withsmtc_modem_hal_radio_irq_clear_pending()
. Now modem only asks to clear radio pending irq
- [all] Initial version