adjust to the new yotta friendly file tree for BLE_API
parent
2453a09171
commit
f983494cc9
|
@ -30,7 +30,7 @@
|
|||
#include "softdevice_handler.h"
|
||||
#include "pstorage.h"
|
||||
|
||||
#include "GapEvents.h"
|
||||
#include "ble/GapEvents.h"
|
||||
#include "nRF51Gap.h"
|
||||
#include "nRF51GattServer.h"
|
||||
#include "nRF51SecurityManager.h"
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
#ifndef _BTLE_SECURITY_H_
|
||||
#define _BTLE_SECURITY_H_
|
||||
|
||||
#include "Gap.h"
|
||||
#include "SecurityManager.h"
|
||||
#include "ble/Gap.h"
|
||||
#include "ble/SecurityManager.h"
|
||||
|
||||
/**
|
||||
* Enable Nordic's Device Manager, which brings in functionality from the
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
|
||||
#include "common/common.h"
|
||||
#include "ble.h"
|
||||
#include "UUID.h"
|
||||
#include "GattCharacteristic.h"
|
||||
#include "ble/UUID.h"
|
||||
#include "ble/GattCharacteristic.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
#define __NRF51822_H__
|
||||
|
||||
#include "mbed.h"
|
||||
#include "blecommon.h"
|
||||
#include "BLE.h"
|
||||
#include "ble/blecommon.h"
|
||||
#include "ble/BLE.h"
|
||||
#include "nRF51Gap.h"
|
||||
#include "nRF51GattServer.h"
|
||||
#include "nRF51GattClient.h"
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#ifndef __NRF_DISCOVERED_CHARACTERISTIC_H__
|
||||
#define __NRF_DISCOVERED_CHARACTERISTIC_H__
|
||||
|
||||
#include "DiscoveredCharacteristic.h"
|
||||
#include "ble/DiscoveredCharacteristic.h"
|
||||
#include "ble_gatt.h"
|
||||
|
||||
class nRF51GattClient; /* forward declaration */
|
||||
|
|
10
nRF51Gap.h
10
nRF51Gap.h
|
@ -18,12 +18,12 @@
|
|||
#define __NRF51822_GAP_H__
|
||||
|
||||
#include "mbed.h"
|
||||
#include "blecommon.h"
|
||||
#include "ble/blecommon.h"
|
||||
#include "ble.h"
|
||||
#include "GapAdvertisingParams.h"
|
||||
#include "GapAdvertisingData.h"
|
||||
#include "Gap.h"
|
||||
#include "GapScanningParams.h"
|
||||
#include "ble/GapAdvertisingParams.h"
|
||||
#include "ble/GapAdvertisingData.h"
|
||||
#include "ble/Gap.h"
|
||||
#include "ble/GapScanningParams.h"
|
||||
|
||||
#include "nrf_soc.h"
|
||||
#include "ble_radio_notification.h"
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#ifndef __NRF51822_GATT_CLIENT_H__
|
||||
#define __NRF51822_GATT_CLIENT_H__
|
||||
|
||||
#include "GattClient.h"
|
||||
#include "ble/GattClient.h"
|
||||
#include "nRF51ServiceDiscovery.h"
|
||||
|
||||
class nRF51GattClient : public GattClient
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "blecommon.h"
|
||||
#include "ble/blecommon.h"
|
||||
#include "ble.h" /* nordic ble */
|
||||
#include "Gap.h"
|
||||
#include "GattServer.h"
|
||||
#include "ble/Gap.h"
|
||||
#include "ble/GattServer.h"
|
||||
|
||||
class nRF51GattServer : public GattServer
|
||||
{
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "SecurityManager.h"
|
||||
#include "ble/SecurityManager.h"
|
||||
#include "btle_security.h"
|
||||
|
||||
class nRF51SecurityManager : public SecurityManager
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
#ifndef __NRF_SERVICE_DISCOVERY_H__
|
||||
#define __NRF_SERVICE_DISCOVERY_H__
|
||||
|
||||
#include "ServiceDiscovery.h"
|
||||
#include "DiscoveredService.h"
|
||||
#include "ble/ServiceDiscovery.h"
|
||||
#include "ble/DiscoveredService.h"
|
||||
#include "nRF51DiscoveredCharacteristic.h"
|
||||
|
||||
#include "ble.h"
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#ifndef _PROJECTCONFIG_H_
|
||||
#define _PROJECTCONFIG_H_
|
||||
|
||||
#include "blecommon.h"
|
||||
#include "ble/blecommon.h"
|
||||
|
||||
/*=========================================================================
|
||||
MCU & BOARD SELCTION
|
||||
|
|
Loading…
Reference in New Issue