Patched version of nrf51822 FOTA compatible driver, with GPTIO disabled, as it clashed with the mbed definitions...
Fork of nRF51822 by
dfu_ble_svc_internal.h
00001 /* Copyright (c) 2014 Nordic Semiconductor. All Rights Reserved. 00002 * 00003 * The information contained herein is property of Nordic Semiconductor ASA. 00004 * Terms and conditions of usage are described in detail in NORDIC 00005 * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. 00006 * 00007 * Licensees are granted free, non-transferable use of the information. NO 00008 * WARRANTY of ANY KIND is provided. This heading must NOT be removed from 00009 * the file. 00010 * 00011 */ 00012 00013 /** @file 00014 * 00015 * @defgroup nrf_dfu_ble_svc_internal DFU BLE SVC internal 00016 * @{ 00017 * 00018 * @brief DFU BLE SVC internal functions in bootloader. The DFU BLE SuperVisor Calls allow an 00019 * application to execute functions in the installed bootloader. This interface provides 00020 * internal Bootloader DFU functions for retrieving data exchanged through SuperVisor Calls. 00021 * 00022 */ 00023 00024 #ifndef DFU_BLE_SVC_INTERNAL_H__ 00025 #define DFU_BLE_SVC_INTERNAL_H__ 00026 00027 #include <stdint.h> 00028 #include "dfu_ble_svc.h " 00029 #include "ble_gap.h" 00030 00031 /**@brief Internal bootloader/DFU function for retrieving peer data provided from application. 00032 * 00033 * @param[out] p_peer_data Peer data set by application to be used for DFU connection. 00034 * 00035 * @retval NRF_SUCCES If peer data is valid and can be used for connection. 00036 * @retval NRF_ERROR_INVALID_DATA If peer data is not available or invalid. 00037 */ 00038 uint32_t dfu_ble_get_peer_data(dfu_ble_peer_data_t * p_peer_data); 00039 00040 #endif // DFU_BLE_SVC_INTERNAL_H__ 00041 00042 /** @} */
Generated on Tue Jul 12 2022 17:56:12 by 1.7.2