High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: public/ServiceDiscovery.h
- Revision:
- 465:8c4c61279f82
- Parent:
- 461:a636b8ee72f1
- Child:
- 466:5c2cb68e7c3b
--- 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();