fka mod

Fork of BLE_API by Bluetooth Low Energy

Revision:
438:b55ce5f5715d
Parent:
431:1c8c592430ec
Child:
439:c57413bf88a9
diff -r 9d5f32258762 -r b55ce5f5715d public/ServiceDiscovery.h
--- 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: