Nordic nrf51 sdk sources. Mirrored from https://github.com/ARMmbed/nrf51-sdk.

Dependents:   nRF51822 nRF51822

Committer:
vcoubard
Date:
Thu Apr 07 17:37:56 2016 +0100
Revision:
28:041dac1366b2
Parent:
20:a90c48eb1d30
Child:
29:286940b7ee5a
Synchronized with git rev 012b8118
Author: Liyou Zhou
Pull in files from sdk 10.0

Who changed what in which revision?

UserRevisionLine numberNew contents of line
vcoubard 28:041dac1366b2 1 /* Copyright (c) 2014 Nordic Semiconductor. All Rights Reserved.
vcoubard 28:041dac1366b2 2 *
vcoubard 28:041dac1366b2 3 * The information contained herein is property of Nordic Semiconductor ASA.
vcoubard 28:041dac1366b2 4 * Terms and conditions of usage are described in detail in NORDIC
vcoubard 28:041dac1366b2 5 * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
vcoubard 28:041dac1366b2 6 *
vcoubard 28:041dac1366b2 7 * Licensees are granted free, non-transferable use of the information. NO
vcoubard 28:041dac1366b2 8 * WARRANTY of ANY KIND is provided. This heading must NOT be removed from
vcoubard 28:041dac1366b2 9 * the file.
vcoubard 28:041dac1366b2 10 *
Vincent Coubard 0:f2542974c862 11 */
Vincent Coubard 0:f2542974c862 12
Vincent Coubard 0:f2542974c862 13 /** @file
Vincent Coubard 0:f2542974c862 14 *
Vincent Coubard 0:f2542974c862 15 * @defgroup nrf_dfu_ble_svc_internal DFU BLE SVC internal
Vincent Coubard 0:f2542974c862 16 * @{
Vincent Coubard 0:f2542974c862 17 *
Vincent Coubard 0:f2542974c862 18 * @brief DFU BLE SVC internal functions in bootloader. The DFU BLE SuperVisor Calls allow an
Vincent Coubard 0:f2542974c862 19 * application to execute functions in the installed bootloader. This interface provides
Vincent Coubard 0:f2542974c862 20 * internal Bootloader DFU functions for retrieving data exchanged through SuperVisor Calls.
Vincent Coubard 0:f2542974c862 21 *
Vincent Coubard 0:f2542974c862 22 */
Vincent Coubard 0:f2542974c862 23
Vincent Coubard 0:f2542974c862 24 #ifndef DFU_BLE_SVC_INTERNAL_H__
Vincent Coubard 0:f2542974c862 25 #define DFU_BLE_SVC_INTERNAL_H__
Vincent Coubard 0:f2542974c862 26
Vincent Coubard 0:f2542974c862 27 #include <stdint.h>
Vincent Coubard 0:f2542974c862 28 #include "dfu_ble_svc.h"
Vincent Coubard 0:f2542974c862 29 #include "ble_gap.h"
Vincent Coubard 0:f2542974c862 30
Vincent Coubard 0:f2542974c862 31 /**@brief Internal bootloader/DFU function for retrieving peer data provided from application.
Vincent Coubard 0:f2542974c862 32 *
Vincent Coubard 0:f2542974c862 33 * @param[out] p_peer_data Peer data set by application to be used for DFU connection.
Vincent Coubard 0:f2542974c862 34 *
vcoubard 1:ebc0e0ef0a11 35 * @retval NRF_SUCCESS If peer data is valid and can be used for connection.
vcoubard 1:ebc0e0ef0a11 36 * @retval NRF_ERROR_NULL If p_peer_data is a NULL pointer.
Vincent Coubard 0:f2542974c862 37 * @retval NRF_ERROR_INVALID_DATA If peer data is not available or invalid.
Vincent Coubard 0:f2542974c862 38 */
vcoubard 1:ebc0e0ef0a11 39 uint32_t dfu_ble_peer_data_get(dfu_ble_peer_data_t * p_peer_data);
Vincent Coubard 0:f2542974c862 40
Vincent Coubard 0:f2542974c862 41 #endif // DFU_BLE_SVC_INTERNAL_H__
Vincent Coubard 0:f2542974c862 42
vcoubard 1:ebc0e0ef0a11 43 /** @} */