Skip to content

Commit 27cb038

Browse files
committed
BLE: Move common publi headers into ble/common
1 parent d3427ca commit 27cb038

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+87
-87
lines changed

connectivity/FEATURE_BLE/include/ble/BLE.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
#ifndef MBED_BLE_H__
2020
#define MBED_BLE_H__
2121

22-
#include "FunctionPointerWithContext.h"
22+
#include "ble/common/FunctionPointerWithContext.h"
2323
#include "platform/mbed_error.h"
2424
#include "platform/mbed_assert.h"
2525
#include "platform/mbed_toolchain.h"
2626

27-
#include "ble/common/ble/BLERoles.h"
28-
#include "ble/common/ble/BLETypes.h"
29-
#include "ble/common/ble/blecommon.h"
27+
#include "ble/common/BLERoles.h"
28+
#include "ble/common/BLETypes.h"
29+
#include "ble/common/blecommon.h"
3030

3131
#include "ble/Gap.h"
3232
#include "ble/GattClient.h"

connectivity/FEATURE_BLE/include/ble/Gap.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
#ifndef BLE_GAP_GAP_H
2020
#define BLE_GAP_GAP_H
2121

22-
#include "CallChainOfFunctionPointersWithContext.h"
22+
#include "ble/common/CallChainOfFunctionPointersWithContext.h"
2323

2424
#include <algorithm>
2525

2626
#include "drivers/LowPowerTimeout.h"
2727
#include "drivers/LowPowerTicker.h"
2828
#include "platform/mbed_error.h"
2929

30-
#include "ble/common/ble/BLERoles.h"
31-
#include "ble/common/ble/BLETypes.h"
30+
#include "ble/common/BLERoles.h"
31+
#include "ble/common/BLETypes.h"
3232
#include "ble/gap/AdvertisingDataBuilder.h"
3333
#include "ble/gap/AdvertisingDataParser.h"
3434
#include "ble/gap/AdvertisingDataSimpleBuilder.h"

connectivity/FEATURE_BLE/include/ble/GattClient.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121

2222
#define MBED_GATT_CLIENT_H__
2323

24-
#include "CallChainOfFunctionPointersWithContext.h"
24+
#include "ble/common/CallChainOfFunctionPointersWithContext.h"
2525
#include <algorithm>
2626

27-
#include "ble/common/ble/blecommon.h"
27+
#include "ble/common/blecommon.h"
2828
#include "ble/common/ble/GattAttribute.h"
2929
#include "ble/common/ble/ServiceDiscovery.h"
3030
#include "ble/common/ble/CharacteristicDescriptorDiscovery.h"

connectivity/FEATURE_BLE/include/ble/GattServer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
#ifndef MBED_GATT_SERVER_H__
2121
#define MBED_GATT_SERVER_H__
2222

23-
#include "CallChainOfFunctionPointersWithContext.h"
23+
#include "ble/common/CallChainOfFunctionPointersWithContext.h"
2424

2525
#include "ble/common/ble/GattService.h"
2626
#include "ble/common/ble/GattAttribute.h"
2727
#include "ble/common/ble/GattServerEvents.h"
2828
#include "ble/common/ble/GattCallbackParamTypes.h"
2929

30-
#include "ble/common/ble/blecommon.h"
30+
#include "ble/common/blecommon.h"
3131
#include "ble/Gap.h"
3232
#include "SecurityManager.h"
3333

connectivity/FEATURE_BLE/include/ble/SecurityManager.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
#define BLE_SECURITY_MANAGER_H_
2121

2222
#include <stdint.h>
23-
#include "CallChainOfFunctionPointersWithContext.h"
23+
#include "ble/common/CallChainOfFunctionPointersWithContext.h"
2424
#include "platform/Callback.h"
2525

26-
#include "ble/common/ble/BLETypes.h"
27-
#include "ble/common/ble/blecommon.h"
26+
#include "ble/common/BLETypes.h"
27+
#include "ble/common/blecommon.h"
2828

29-
#include "ble/common/ble/BLETypes.h"
29+
#include "ble/common/BLETypes.h"
3030

3131
namespace ble {
3232

connectivity/FEATURE_BLE/include/ble/common/ble/BLETypes.h renamed to connectivity/FEATURE_BLE/include/ble/common/BLETypes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include <stddef.h>
2323
#include <stdint.h>
2424
#include <string.h>
25-
#include "SafeEnum.h"
25+
#include "ble/common/SafeEnum.h"
2626
#include "platform/Span.h"
2727

2828
#include "ble/gap/Types.h"

connectivity/FEATURE_BLE/include/ble/common/ble/CallChainOfFunctionPointersWithContext.h renamed to connectivity/FEATURE_BLE/include/ble/common/CallChainOfFunctionPointersWithContext.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
#define MBED_CALLCHAIN_OF_FUNCTION_POINTERS_WITH_CONTEXT_H
2121

2222
#include <string.h>
23-
#include "FunctionPointerWithContext.h"
24-
#include "SafeBool.h"
23+
#include "ble/common/FunctionPointerWithContext.h"
24+
#include "ble/common/SafeBool.h"
2525

2626
/**
2727
* @addtogroup ble

0 commit comments

Comments
 (0)