Device Firmware Update (DFU) transport layer for Bluetooth low energy.
More...
Device Firmware Update (DFU) transport layer for Bluetooth low energy.
The Device Firmware Update (DFU) Service is a GATT-based service that can be used for performing firmware updates over BLE. Note that this implementation uses vendor-specific UUIDs for the service and characteristics, and is intended to demonstrate firmware updates over BLE. See DFU Transport: BLE for more information on the service and the profile.
Function for closing the BLE transport.
This function disconnects and disables the SoftDevice.
- Parameters
-
[in] | p_exception | Optional exception. If the exception refers to this transport, this function will do nothing. Can be NULL to signify no exception. |
- Return values
-
NRF_SUCCESS | If successful. |
- Returns
- Error code from sub-call on error.
uint32_t ble_dfu_transport_disconnect |
( |
void |
| ) |
|
Function for disconnecting from the BLE peer and starting advertising.
- Return values
-
NRF_SUCCESS | If successful. |
- Returns
- Error code from sub-call on error.
Function for initializing the BLE transport.
- Parameters
-
[in] | observer | Callback function for receiving notifications from the BLE transport. |
- Return values
-
NRF_SUCCESS | If successful. |
- Returns
- Error code from sub-call on error.