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 BLE_API by
Diff: public/ServiceDiscovery.h
- Revision:
- 465:8c4c61279f82
- Parent:
- 461:a636b8ee72f1
- Child:
- 466:5c2cb68e7c3b
diff -r c99b83a7ea55 -r 8c4c61279f82 public/ServiceDiscovery.h --- a/public/ServiceDiscovery.h Fri Jun 19 15:51:58 2015 +0100 +++ b/public/ServiceDiscovery.h Fri Jun 19 15:51:59 2015 +0100 @@ -34,6 +34,15 @@ endHandle = endHandleIn; } + void setup(GattAttribute::Handle_t startHandleIn, GattAttribute::Handle_t endHandleIn) { + startHandle = startHandleIn; + endHandle = endHandleIn; + } + + void setupLongUUID(UUID::LongUUIDBytes_t longUUID) { + uuid.setupLong(longUUID); + } + public: UUID::ShortUUIDBytes_t getShortUUID(void) const { return uuid.getShortUUID();