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.
Dependents: microbit-dal microbit-dal microbit-ble-open microbit-dal ... more
Fork of BLE_API by
Diff: public/ServiceDiscovery.h
- Revision:
- 438:b55ce5f5715d
- Parent:
- 431:1c8c592430ec
- Child:
- 439:c57413bf88a9
--- a/public/ServiceDiscovery.h Fri Jun 19 15:51:55 2015 +0100
+++ b/public/ServiceDiscovery.h Fri Jun 19 15:51:55 2015 +0100
@@ -19,6 +19,7 @@
#include "UUID.h"
#include "Gap.h"
+#include "GattAttribute.h"
class ServiceDiscovery {
public:
@@ -32,9 +33,9 @@
endHandle = end;
}
- ShortUUIDBytes_t uuid; /**< UUID of the service. */
- Gap::Handle_t startHandle; /**< Service Handle Range. */
- Gap::Handle_t endHandle; /**< Service Handle Range. */
+ ShortUUIDBytes_t uuid; /**< UUID of the service. */
+ GattAttribute::Handle_t startHandle; /**< Service Handle Range. */
+ GattAttribute::Handle_t endHandle; /**< Service Handle Range. */
};
/**@brief Structure for holding information about the service and the characteristics found during
@@ -74,17 +75,17 @@
uint8_t auth_signed_wr :1; /**< Writing the value with Signed Write Command permitted. */
};
- void setup(ShortUUIDBytes_t uuidIn, Properties_t propsIn, Gap::Handle_t declHandleIn, Gap::Handle_t valueHandleIn) {
+ void setup(ShortUUIDBytes_t uuidIn, Properties_t propsIn, GattAttribute::Handle_t declHandleIn, GattAttribute::Handle_t valueHandleIn) {
uuid = uuidIn;
props = propsIn;
declHandle = declHandleIn;
valueHandle = valueHandleIn;
}
- ShortUUIDBytes_t uuid;
- Properties_t props;
- Gap::Handle_t declHandle;
- Gap::Handle_t valueHandle;
+ ShortUUIDBytes_t uuid;
+ Properties_t props;
+ GattAttribute::Handle_t declHandle;
+ GattAttribute::Handle_t valueHandle;
};
public:
