In-Place OTA DFU#
Component that provides in-place over-the-air (OTA) device firmware update (DFU) functionality. In this solution, the application flash area is used as a temporary storage for the update. This is a Low-Code component because additional security measures might be needed from user side for checking the correct security status. Our minimal solution can be seen in sl_bt_in_place_ota_dfu_security_status() function in sl_bt_in_place_ota_dfu.c file.
Enumerations#
Functions#
Macros#
Enumeration Documentation#
sl_bt_in_place_ota_dfu_security_sts_t#
sl_bt_in_place_ota_dfu_security_sts_t
| Enumerator | |
|---|---|
| SL_BT_IN_PLACE_OTA_DFU_SECURITY_DENY | |
| SL_BT_IN_PLACE_OTA_DFU_SECURITY_ACCEPT | |
Function Documentation#
sl_bt_in_place_ota_dfu_on_event#
void sl_bt_in_place_ota_dfu_on_event (sl_bt_msg_t * evt)
| Type | Direction | Argument Name | Description |
|---|---|---|---|
| sl_bt_msg_t * | [in] | evt | Event coming from the Bluetooth stack. |
Bluetooth stack event handler.
sl_bt_in_place_ota_dfu_security_status#
sl_bt_in_place_ota_dfu_security_sts_t sl_bt_in_place_ota_dfu_security_status (bd_addr address, uint8_t connection, uint8_t bonding)
| Type | Direction | Argument Name | Description |
|---|---|---|---|
| bd_addr | [in] | address | Bluetooth address of the device. |
| uint8_t | [in] | connection | Connection handle. |
| uint8_t | [in] | bonding | Bonding handle. |
Callback function to check security requirements before starting the in-place OTA DFU transfer. At least bonding is mandatory for a secure In-Place OTA DFU transfer. The device parameters are provided: Note
To be implemented in user code.