aa

Dependents:   Peripheral_1_serial_copy Peripheral_1_serial 151006_1st_Scenario_normal

Fork of BLE_API by Bluetooth Low Energy

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();