mirror of https://github.com/ARMmbed/mbed-os.git
BLE: Move GATT public header into ble/gatt
Move private headers GattServerEvents.h, GapEvents,h and GapType.h in relevant part of the source tree.pull/13475/head
parent
27cb03824e
commit
13c358717f
|
@ -25,12 +25,12 @@
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
#include "ble/common/blecommon.h"
|
#include "ble/common/blecommon.h"
|
||||||
#include "ble/common/ble/GattAttribute.h"
|
#include "ble/gatt/GattAttribute.h"
|
||||||
#include "ble/common/ble/ServiceDiscovery.h"
|
#include "ble/gatt/ServiceDiscovery.h"
|
||||||
#include "ble/common/ble/CharacteristicDescriptorDiscovery.h"
|
#include "ble/gatt/CharacteristicDescriptorDiscovery.h"
|
||||||
#include "ble/common/ble/GattCallbackParamTypes.h"
|
#include "ble/gatt/GattCallbackParamTypes.h"
|
||||||
#include "ble/common/ble/DiscoveredService.h"
|
#include "ble/gatt/DiscoveredService.h"
|
||||||
#include "ble/common/ble/DiscoveredCharacteristic.h"
|
#include "ble/gatt/DiscoveredCharacteristic.h"
|
||||||
|
|
||||||
namespace ble {
|
namespace ble {
|
||||||
|
|
||||||
|
|
|
@ -22,10 +22,9 @@
|
||||||
|
|
||||||
#include "ble/common/CallChainOfFunctionPointersWithContext.h"
|
#include "ble/common/CallChainOfFunctionPointersWithContext.h"
|
||||||
|
|
||||||
#include "ble/common/ble/GattService.h"
|
#include "ble/gatt/GattService.h"
|
||||||
#include "ble/common/ble/GattAttribute.h"
|
#include "ble/gatt/GattAttribute.h"
|
||||||
#include "ble/common/ble/GattServerEvents.h"
|
#include "ble/gatt/GattCallbackParamTypes.h"
|
||||||
#include "ble/common/ble/GattCallbackParamTypes.h"
|
|
||||||
|
|
||||||
#include "ble/common/blecommon.h"
|
#include "ble/common/blecommon.h"
|
||||||
#include "ble/Gap.h"
|
#include "ble/Gap.h"
|
||||||
|
|
|
@ -20,10 +20,10 @@
|
||||||
#define MBED_DISCOVERED_CHARACTERISTIC_H__
|
#define MBED_DISCOVERED_CHARACTERISTIC_H__
|
||||||
|
|
||||||
#include "ble/common/UUID.h"
|
#include "ble/common/UUID.h"
|
||||||
#include "ble/common/ble/GattAttribute.h"
|
#include "GattAttribute.h"
|
||||||
#include "ble/common/ble/GattCallbackParamTypes.h"
|
#include "GattCallbackParamTypes.h"
|
||||||
#include "ble/common/ble/CharacteristicDescriptorDiscovery.h"
|
#include "ble/gatt/CharacteristicDescriptorDiscovery.h"
|
||||||
#include "ble/common/ble/DiscoveredCharacteristicDescriptor.h"
|
#include "DiscoveredCharacteristicDescriptor.h"
|
||||||
|
|
||||||
namespace ble {
|
namespace ble {
|
||||||
class GattClient;
|
class GattClient;
|
|
@ -21,8 +21,8 @@
|
||||||
|
|
||||||
#include "ble/common/UUID.h"
|
#include "ble/common/UUID.h"
|
||||||
#include "ble/Gap.h"
|
#include "ble/Gap.h"
|
||||||
#include "ble/common/ble/GattAttribute.h"
|
#include "GattAttribute.h"
|
||||||
#include "ble/common/ble/CharacteristicDescriptorDiscovery.h"
|
#include "ble/gatt/CharacteristicDescriptorDiscovery.h"
|
||||||
|
|
||||||
namespace ble {
|
namespace ble {
|
||||||
class GattClient;
|
class GattClient;
|
|
@ -20,7 +20,7 @@
|
||||||
#define MBED_DISCOVERED_SERVICE_H__
|
#define MBED_DISCOVERED_SERVICE_H__
|
||||||
|
|
||||||
#include "ble/common/UUID.h"
|
#include "ble/common/UUID.h"
|
||||||
#include "ble/common/ble/GattAttribute.h"
|
#include "GattAttribute.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @addtogroup ble
|
* @addtogroup ble
|
|
@ -21,8 +21,8 @@
|
||||||
|
|
||||||
#include "ble/common/FunctionPointerWithContext.h"
|
#include "ble/common/FunctionPointerWithContext.h"
|
||||||
|
|
||||||
#include "ble/common/ble/GattAttribute.h"
|
#include "ble/gatt/GattAttribute.h"
|
||||||
#include "ble/common/ble/GattCallbackParamTypes.h"
|
#include "ble/gatt/GattCallbackParamTypes.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @addtogroup ble
|
* @addtogroup ble
|
|
@ -20,7 +20,7 @@
|
||||||
#define MBED_GATT_SERVICE_H__
|
#define MBED_GATT_SERVICE_H__
|
||||||
|
|
||||||
#include "ble/common/UUID.h"
|
#include "ble/common/UUID.h"
|
||||||
#include "ble/common/ble/GattCharacteristic.h"
|
#include "ble/gatt/GattCharacteristic.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @addtogroup ble
|
* @addtogroup ble
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
#include "ble/common/blecommon.h"
|
#include "ble/common/blecommon.h"
|
||||||
#include "ble/common/UUID.h"
|
#include "ble/common/UUID.h"
|
||||||
#include "ble/common/ble/GattAttribute.h"
|
#include "ble/gatt/GattAttribute.h"
|
||||||
|
|
||||||
class DiscoveredService;
|
class DiscoveredService;
|
||||||
class DiscoveredCharacteristic;
|
class DiscoveredCharacteristic;
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ble/BLE.h"
|
#include "ble/BLE.h"
|
||||||
#include "ble/common/ble/DiscoveredCharacteristic.h"
|
#include "ble/gatt/DiscoveredCharacteristic.h"
|
||||||
#include "ble/GattClient.h"
|
#include "ble/GattClient.h"
|
||||||
|
|
||||||
ble_error_t
|
ble_error_t
|
||||||
|
|
|
@ -25,8 +25,8 @@
|
||||||
#include "ble/Gap.h"
|
#include "ble/Gap.h"
|
||||||
#include "ble/SecurityManager.h"
|
#include "ble/SecurityManager.h"
|
||||||
#include "source/pal/PalGap.h"
|
#include "source/pal/PalGap.h"
|
||||||
#include "ble/common/ble/GapEvents.h"
|
#include "source/pal/GapEvents.h"
|
||||||
#include "ble/common/ble/GapTypes.h"
|
#include "source/pal/GapTypes.h"
|
||||||
#include "source/pal/PalGenericAccessService.h"
|
#include "source/pal/PalGenericAccessService.h"
|
||||||
#include "source/pal/PalEventQueue.h"
|
#include "source/pal/PalEventQueue.h"
|
||||||
#include "source/pal/PalGap.h"
|
#include "source/pal/PalGap.h"
|
||||||
|
|
|
@ -37,8 +37,8 @@
|
||||||
#include "ble/gap/Events.h"
|
#include "ble/gap/Events.h"
|
||||||
|
|
||||||
#include "source/pal/PalGap.h"
|
#include "source/pal/PalGap.h"
|
||||||
#include "ble/common/ble/GapEvents.h"
|
#include "source/pal/GapEvents.h"
|
||||||
#include "ble/common/ble/GapTypes.h"
|
#include "source/pal/GapTypes.h"
|
||||||
#include "source/pal/PalEventQueue.h"
|
#include "source/pal/PalEventQueue.h"
|
||||||
#include "source/pal/PalConnectionMonitor.h"
|
#include "source/pal/PalConnectionMonitor.h"
|
||||||
#include "source/pal/PalEventQueue.h"
|
#include "source/pal/PalEventQueue.h"
|
||||||
|
|
|
@ -25,8 +25,8 @@
|
||||||
|
|
||||||
#include "GattClientImpl.h"
|
#include "GattClientImpl.h"
|
||||||
#include "source/pal/AttServerMessage.h"
|
#include "source/pal/AttServerMessage.h"
|
||||||
#include "ble/common/ble/DiscoveredService.h"
|
#include "ble/gatt/DiscoveredService.h"
|
||||||
#include "ble/common/ble/DiscoveredCharacteristic.h"
|
#include "ble/gatt/DiscoveredCharacteristic.h"
|
||||||
#include "ble/common/blecommon.h"
|
#include "ble/common/blecommon.h"
|
||||||
#include "source/BLEInstanceBase.h"
|
#include "source/BLEInstanceBase.h"
|
||||||
#include "ble/SecurityManager.h"
|
#include "ble/SecurityManager.h"
|
||||||
|
|
|
@ -26,10 +26,10 @@
|
||||||
|
|
||||||
|
|
||||||
#include "ble/common/blecommon.h"
|
#include "ble/common/blecommon.h"
|
||||||
#include "ble/common/ble/GattAttribute.h"
|
#include "ble/gatt/GattAttribute.h"
|
||||||
#include "ble/common/ble/ServiceDiscovery.h"
|
#include "ble/gatt/ServiceDiscovery.h"
|
||||||
#include "ble/common/ble/CharacteristicDescriptorDiscovery.h"
|
#include "ble/gatt/CharacteristicDescriptorDiscovery.h"
|
||||||
#include "ble/common/ble/GattCallbackParamTypes.h"
|
#include "ble/gatt/GattCallbackParamTypes.h"
|
||||||
#include "source/pal/PalGattClient.h"
|
#include "source/pal/PalGattClient.h"
|
||||||
#include "source/pal/PalSigningMonitor.h"
|
#include "source/pal/PalSigningMonitor.h"
|
||||||
#include "ble/GattClient.h"
|
#include "ble/GattClient.h"
|
||||||
|
|
|
@ -21,10 +21,10 @@
|
||||||
|
|
||||||
#include "ble/common/CallChainOfFunctionPointersWithContext.h"
|
#include "ble/common/CallChainOfFunctionPointersWithContext.h"
|
||||||
|
|
||||||
#include "ble/common/ble/GattService.h"
|
#include "ble/gatt/GattService.h"
|
||||||
#include "ble/common/ble/GattAttribute.h"
|
#include "ble/gatt/GattAttribute.h"
|
||||||
#include "ble/common/ble/GattServerEvents.h"
|
#include "GattServerEvents.h"
|
||||||
#include "ble/common/ble/GattCallbackParamTypes.h"
|
#include "ble/gatt/GattCallbackParamTypes.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <ble/GattServer.h>
|
#include <ble/GattServer.h>
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
#include "att_api.h"
|
#include "att_api.h"
|
||||||
#include "SecurityManager.h"
|
#include "SecurityManager.h"
|
||||||
|
|
||||||
#include "ble/common/ble/GattCallbackParamTypes.h"
|
#include "ble/gatt/GattCallbackParamTypes.h"
|
||||||
#include "source/pal/PalSigningMonitor.h"
|
#include "source/pal/PalSigningMonitor.h"
|
||||||
#include "source/BLEInstanceBase.h"
|
#include "source/BLEInstanceBase.h"
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "platform/Callback.h"
|
#include "platform/Callback.h"
|
||||||
|
|
||||||
//#include "ble/common/ble/GapTypes.h"
|
|
||||||
#include "ble/common/BLETypes.h"
|
#include "ble/common/BLETypes.h"
|
||||||
#include "ble/Gap.h"
|
#include "ble/Gap.h"
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#include "ble/common/blecommon.h"
|
#include "ble/common/blecommon.h"
|
||||||
#include "ble/Gap.h"
|
#include "ble/Gap.h"
|
||||||
|
|
||||||
#include "ble/common/ble/GapTypes.h"
|
#include "source/pal/GapTypes.h"
|
||||||
#include "ble/common/BLETypes.h"
|
#include "ble/common/BLETypes.h"
|
||||||
#include "SecurityDb.h"
|
#include "SecurityDb.h"
|
||||||
#include "source/pal/PalConnectionMonitor.h"
|
#include "source/pal/PalConnectionMonitor.h"
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#ifndef BLE_PAL_GAP_MESSAGE_H_
|
#ifndef BLE_PAL_GAP_MESSAGE_H_
|
||||||
#define BLE_PAL_GAP_MESSAGE_H_
|
#define BLE_PAL_GAP_MESSAGE_H_
|
||||||
|
|
||||||
#include "ble/common/ble/GapTypes.h"
|
#include "GapTypes.h"
|
||||||
#include "ble/common/BLETypes.h"
|
#include "ble/common/BLETypes.h"
|
||||||
|
|
||||||
namespace ble {
|
namespace ble {
|
|
@ -21,8 +21,8 @@
|
||||||
|
|
||||||
#include "platform/Callback.h"
|
#include "platform/Callback.h"
|
||||||
|
|
||||||
#include "ble/common/ble/GapTypes.h"
|
#include "GapTypes.h"
|
||||||
#include "ble/common/ble/GapEvents.h"
|
#include "GapEvents.h"
|
||||||
#include "ble/common/blecommon.h"
|
#include "ble/common/blecommon.h"
|
||||||
|
|
||||||
#include "dm_api.h"
|
#include "dm_api.h"
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#ifndef BLE_PAL_GENERIC_ACCESS_SERVICE_H_
|
#ifndef BLE_PAL_GENERIC_ACCESS_SERVICE_H_
|
||||||
#define BLE_PAL_GENERIC_ACCESS_SERVICE_H_
|
#define BLE_PAL_GENERIC_ACCESS_SERVICE_H_
|
||||||
|
|
||||||
#include "ble/common/ble/GapTypes.h"
|
#include "GapTypes.h"
|
||||||
#include "ble/common/BLETypes.h"
|
#include "ble/common/BLETypes.h"
|
||||||
#include "ble/common/blecommon.h"
|
#include "ble/common/blecommon.h"
|
||||||
#include "ble/Gap.h"
|
#include "ble/Gap.h"
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#include "platform/NonCopyable.h"
|
#include "platform/NonCopyable.h"
|
||||||
|
|
||||||
#include "ble/common/BLETypes.h"
|
#include "ble/common/BLETypes.h"
|
||||||
#include "ble/common/ble/GapTypes.h"
|
#include "GapTypes.h"
|
||||||
|
|
||||||
#include "wsf_types.h"
|
#include "wsf_types.h"
|
||||||
#include "wsf_os.h"
|
#include "wsf_os.h"
|
||||||
|
|
Loading…
Reference in New Issue