BLE_OTAPS_UpdatingResponse
C
uint16_t BLE_OTAPS_UpdatingResponse(bool success);Description
Responds to the peer device after receiving a BLE_OTAPS_EVT_UPDATING_REQ event.
Note
The application must handle the update of the fragmented firmware image.
Parameters
| Parameter | Description |
|---|---|
| [in] success | True if the update is successful, false otherwise. |
Return values
| Return value | Description |
|---|---|
| MBA_RES_SUCCESS | Response sent successfully. |
| MBA_RES_OOM | Internal memory allocation failure. |
| MBA_RES_BAD_STATE | Inappropriate OTA state to call this function. |
