switch to UUID within DiscoveredCharacteristic

This commit is contained in:
Rohit Grover 2015-05-26 08:22:50 +01:00
parent ec704356ac
commit 3ff7472d48
1 changed files with 4 additions and 4 deletions

View File

@ -106,8 +106,8 @@ public:
}
public:
const UUID::ShortUUIDBytes_t& getShortUUID(void) const {
return uuid;
UUID::ShortUUIDBytes_t getShortUUID(void) const {
return uuid.getShortUUID();
}
const Properties_t& getProperties(void) const {
@ -122,12 +122,12 @@ public:
}
public:
DiscoveredCharacteristic() : uuid(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 */
}
private:
UUID::ShortUUIDBytes_t uuid;
UUID uuid;
Properties_t props;
GattAttribute::Handle_t declHandle;
GattAttribute::Handle_t valueHandle;