nRF51 SDK - S130 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
DFU BLE SVC internal

DFU BLE SVC internal functions in bootloader. The DFU BLE SuperVisor Calls allow an application to execute functions in the installed bootloader. This interface provides internal Bootloader DFU functions for retrieving data exchanged through SuperVisor Calls. More...

Functions

uint32_t dfu_ble_peer_data_get (dfu_ble_peer_data_t *p_peer_data)
 Internal bootloader/DFU function for retrieving peer data provided from application. More...
 

Detailed Description

DFU BLE SVC internal functions in bootloader. The DFU BLE SuperVisor Calls allow an application to execute functions in the installed bootloader. This interface provides internal Bootloader DFU functions for retrieving data exchanged through SuperVisor Calls.

Function Documentation

uint32_t dfu_ble_peer_data_get ( dfu_ble_peer_data_t p_peer_data)

Internal bootloader/DFU function for retrieving peer data provided from application.

Parameters
[out]p_peer_dataPeer data set by application to be used for DFU connection.
Return values
NRF_SUCCESSIf peer data is valid and can be used for connection.
NRF_ERROR_NULLIf p_peer_data is a NULL pointer.
NRF_ERROR_INVALID_DATAIf peer data is not available or invalid.