Patched version of nrf51822 FOTA compatible driver, with GPTIO disabled, as it clashed with the mbed definitions...

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

DFU BLE SVC internal

DFU BLE SVC internal

DFU BLE SVC internal functions in bootloader. More...

Functions

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

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_get_peer_data ( 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_SUCCESIf peer data is valid and can be used for connection.
NRF_ERROR_INVALID_DATAIf peer data is not available or invalid.