File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed
features/FEATURE_BLE/ble/services Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 26
26
27
27
#include " ble/UUID.h"
28
28
#include " ble/BLE.h"
29
+ #include " ble/pal/Deprecated.h"
29
30
30
31
#if BLE_FEATURE_GATT_SERVER
31
32
33
+ BLE_DEPRECATED_API_USE_BEGIN ()
34
+
32
35
extern const uint8_t UARTServiceBaseUUID[UUID::LENGTH_OF_LONG_UUID];
33
36
extern const uint16_t UARTServiceShortUUID;
34
37
extern const uint16_t UARTServiceTXCharacteristicShortUUID;
@@ -223,6 +226,8 @@ class UARTService {
223
226
* application. */
224
227
};
225
228
229
+ BLE_DEPRECATED_API_USE_END ()
230
+
226
231
#endif // BLE_FEATURE_GATT_SERVER
227
232
228
233
#endif /* #ifndef __BLE_UART_SERVICE_H__*/
Original file line number Diff line number Diff line change 18
18
#define SERVICES_URIBEACONCONFIGSERVICE_H_
19
19
20
20
#include " ble/BLE.h"
21
+ #include " ble/pal/Deprecated.h"
21
22
22
23
#ifdef YOTTA_CFG_MBED_OS
23
24
#include " mbed-drivers/mbed.h"
28
29
#if BLE_FEATURE_GATT_SERVER
29
30
#if BLE_ROLE_BROADCASTER
30
31
32
+ BLE_DEPRECATED_API_USE_BEGIN ()
33
+
31
34
extern const uint8_t UUID_URI_BEACON_SERVICE[UUID::LENGTH_OF_LONG_UUID];
32
35
extern const uint8_t UUID_LOCK_STATE_CHAR[UUID::LENGTH_OF_LONG_UUID];
33
36
extern const uint8_t UUID_LOCK_CHAR[UUID::LENGTH_OF_LONG_UUID];
@@ -483,6 +486,8 @@ class URIBeaconConfigService {
483
486
}
484
487
};
485
488
489
+ BLE_DEPRECATED_API_USE_END ()
490
+
486
491
#endif // BLE_ROLE_BROADCASTER
487
492
#endif // BLE_FEATURE_GATT_SERVER
488
493
Original file line number Diff line number Diff line change 18
18
19
19
#include " cmsis_compiler.h"
20
20
#include " ble/BLE.h"
21
+ #include " ble/pal/Deprecated.h"
21
22
22
23
#if BLE_FEATURE_GATT_SERVER
23
24
25
+ BLE_DEPRECATED_API_USE_BEGIN ()
26
+
24
27
/* *
25
28
* iBeacon Service.
26
29
*
@@ -253,6 +256,8 @@ class iBeacon {
253
256
*/
254
257
typedef iBeacon iBeaconService;
255
258
259
+ BLE_DEPRECATED_API_USE_END ()
260
+
256
261
#endif // BLE_FEATURE_GATT_SERVER
257
262
258
263
#endif // MBED_BLE_IBEACON_H__
You can’t perform that action at this time.
0 commit comments