High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: GattService.h
- Revision:
- 23:f19c60478e1b
- Parent:
- 11:200931be5617
- Child:
- 27:4a83843f04b0
--- a/GattService.h Tue Jan 07 10:54:02 2014 +0000 +++ b/GattService.h Tue Jan 07 19:58:06 2014 +0000 @@ -12,22 +12,13 @@ private: public: - typedef struct - { - uint16_t id; - uint16_t lenMin; - uint16_t lenMax; - uint8_t properties; - uint8_t reserved; - } serialisedChar_t; - GattService(uint8_t[16]); /* 128-bit Base UUID */ GattService(uint16_t); /* 16-bit BLE UUID */ virtual ~GattService(void); UUID primaryServiceID; uint8_t characteristicCount; - serialisedChar_t characteristics[BLE_SERVICE_MAX_CHARACTERISTICS]; + GattCharacteristic characteristics[BLE_SERVICE_MAX_CHARACTERISTICS]; uint8_t handle; ble_error_t addCharacteristic(GattCharacteristic &);