fork BLE_API to add update adv payload API
Fork of BLE_API by
Diff: public/ServiceDiscovery.h
- Revision:
- 461:a636b8ee72f1
- Parent:
- 460:f5468aee162d
- Child:
- 465:8c4c61279f82
--- a/public/ServiceDiscovery.h Fri Jun 19 15:51:58 2015 +0100 +++ b/public/ServiceDiscovery.h Fri Jun 19 15:51:58 2015 +0100 @@ -47,7 +47,9 @@ } public: - DiscoveredService() : uuid(UUID::ShortUUIDBytes_t(0)), startHandle(GattAttribute::INVALID_HANDLE), endHandle(GattAttribute::INVALID_HANDLE) { + DiscoveredService() : uuid(UUID::ShortUUIDBytes_t(0)), + startHandle(GattAttribute::INVALID_HANDLE), + endHandle(GattAttribute::INVALID_HANDLE) { /* empty */ } @@ -98,7 +100,10 @@ uint8_t auth_signed_wr :1; /**< Writing the value with Signed Write Command permitted. */ }; - void setup(UUID::ShortUUIDBytes_t uuidIn, Properties_t propsIn, GattAttribute::Handle_t declHandleIn, GattAttribute::Handle_t valueHandleIn) { + void setup(UUID::ShortUUIDBytes_t uuidIn, + Properties_t propsIn, + GattAttribute::Handle_t declHandleIn, + GattAttribute::Handle_t valueHandleIn) { uuid = uuidIn; props = propsIn; declHandle = declHandleIn; @@ -122,7 +127,10 @@ } public: - DiscoveredCharacteristic() : uuid(UUID::ShortUUIDBytes_t(0)), props(), declHandle(GattAttribute::INVALID_HANDLE), valueHandle(GattAttribute::INVALID_HANDLE) { + DiscoveredCharacteristic() : uuid(UUID::ShortUUIDBytes_t(0)), + props(), + declHandle(GattAttribute::INVALID_HANDLE), + valueHandle(GattAttribute::INVALID_HANDLE) { /* empty */ }