To get started with Seeed Tiny BLE, include detecting motion, button and battery level.
Dependencies: BLE_API eMPL_MPU6050 mbed nRF51822
Diff: nRF51822/nordic-sdk/components/libraries/bootloader_dfu/dfu_ble_svc_internal.h
- Revision:
- 3:24e365bd1b97
- Parent:
- 2:b61ddbb8528e
--- a/nRF51822/nordic-sdk/components/libraries/bootloader_dfu/dfu_ble_svc_internal.h Thu Nov 05 02:46:37 2015 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,42 +0,0 @@ -/* Copyright (c) 2014 Nordic Semiconductor. All Rights Reserved. - * - * The information contained herein is property of Nordic Semiconductor ASA. - * Terms and conditions of usage are described in detail in NORDIC - * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. - * - * Licensees are granted free, non-transferable use of the information. NO - * WARRANTY of ANY KIND is provided. This heading must NOT be removed from - * the file. - * - */ - -/** @file - * - * @defgroup nrf_dfu_ble_svc_internal DFU BLE SVC internal - * @{ - * - * @brief 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. - * - */ - -#ifndef DFU_BLE_SVC_INTERNAL_H__ -#define DFU_BLE_SVC_INTERNAL_H__ - -#include <stdint.h> -#include "dfu_ble_svc.h" -#include "ble_gap.h" - -/**@brief Internal bootloader/DFU function for retrieving peer data provided from application. - * - * @param[out] p_peer_data Peer data set by application to be used for DFU connection. - * - * @retval NRF_SUCCES If peer data is valid and can be used for connection. - * @retval NRF_ERROR_INVALID_DATA If peer data is not available or invalid. - */ -uint32_t dfu_ble_get_peer_data(dfu_ble_peer_data_t * p_peer_data); - -#endif // DFU_BLE_SVC_INTERNAL_H__ - -/** @} */ \ No newline at end of file