Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of nRF51822 by
Revision 360:7c68c8d67e1f, committed 2015-06-19
- Comitter:
- rgrover1
- Date:
- Fri Jun 19 15:55:37 2015 +0100
- Parent:
- 359:64918eb1ead2
- Child:
- 361:d2405f5a4853
- Commit message:
- Synchronized with git rev f983494c
Author: Rohit Grover
adjust to the new yotta friendly file tree for BLE_API
Changed in this revision
--- a/btle/btle.cpp Fri Jun 19 15:55:37 2015 +0100 +++ b/btle/btle.cpp Fri Jun 19 15:55:37 2015 +0100 @@ -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"
--- a/btle/btle_security.h Fri Jun 19 15:55:37 2015 +0100 +++ b/btle/btle_security.h Fri Jun 19 15:55:37 2015 +0100 @@ -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
--- a/btle/custom/custom_helper.h Fri Jun 19 15:55:37 2015 +0100
+++ b/btle/custom/custom_helper.h Fri Jun 19 15:55:37 2015 +0100
@@ -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" {
--- a/nRF51822n.h Fri Jun 19 15:55:37 2015 +0100 +++ b/nRF51822n.h Fri Jun 19 15:55:37 2015 +0100 @@ -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"
--- a/nRF51DiscoveredCharacteristic.h Fri Jun 19 15:55:37 2015 +0100 +++ b/nRF51DiscoveredCharacteristic.h Fri Jun 19 15:55:37 2015 +0100 @@ -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 */
--- a/nRF51Gap.h Fri Jun 19 15:55:37 2015 +0100 +++ b/nRF51Gap.h Fri Jun 19 15:55:37 2015 +0100 @@ -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"
--- a/nRF51GattClient.h Fri Jun 19 15:55:37 2015 +0100 +++ b/nRF51GattClient.h Fri Jun 19 15:55:37 2015 +0100 @@ -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
--- a/nRF51GattServer.h Fri Jun 19 15:55:37 2015 +0100
+++ b/nRF51GattServer.h Fri Jun 19 15:55:37 2015 +0100
@@ -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
{
--- a/nRF51SecurityManager.h Fri Jun 19 15:55:37 2015 +0100 +++ b/nRF51SecurityManager.h Fri Jun 19 15:55:37 2015 +0100 @@ -19,7 +19,7 @@ #include <stddef.h> -#include "SecurityManager.h" +#include "ble/SecurityManager.h" #include "btle_security.h" class nRF51SecurityManager : public SecurityManager
--- a/nRF51ServiceDiscovery.h Fri Jun 19 15:55:37 2015 +0100 +++ b/nRF51ServiceDiscovery.h Fri Jun 19 15:55:37 2015 +0100 @@ -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"
--- a/projectconfig.h Fri Jun 19 15:55:37 2015 +0100
+++ b/projectconfig.h Fri Jun 19 15:55:37 2015 +0100
@@ -17,7 +17,7 @@
#ifndef _PROJECTCONFIG_H_
#define _PROJECTCONFIG_H_
-#include "blecommon.h"
+#include "ble/blecommon.h"
/*=========================================================================
MCU & BOARD SELCTION
