summaryrefslogtreecommitdiff
path: root/sensor/patchedBLE/src/BLEUUID.h
diff options
context:
space:
mode:
Diffstat (limited to 'sensor/patchedBLE/src/BLEUUID.h')
-rw-r--r--sensor/patchedBLE/src/BLEUUID.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sensor/patchedBLE/src/BLEUUID.h b/sensor/patchedBLE/src/BLEUUID.h
index 5fb7795..700739b 100644
--- a/sensor/patchedBLE/src/BLEUUID.h
+++ b/sensor/patchedBLE/src/BLEUUID.h
@@ -24,7 +24,7 @@ public:
BLEUUID(uint8_t* pData, size_t size, bool msbFirst);
BLEUUID(esp_gatt_id_t gattId);
BLEUUID();
- int bitSize(); // Get the number of bits in this uuid.
+ uint8_t bitSize(); // Get the number of bits in this uuid.
bool equals(BLEUUID uuid);
esp_bt_uuid_t* getNative();
BLEUUID to128();
@@ -32,8 +32,8 @@ public:
static BLEUUID fromString(std::string uuid); // Create a BLEUUID from a string
private:
- esp_bt_uuid_t m_uuid; // The underlying UUID structure that this class wraps.
- bool m_valueSet; // Is there a value set for this instance.
+ esp_bt_uuid_t m_uuid; // The underlying UUID structure that this class wraps.
+ bool m_valueSet = false; // Is there a value set for this instance.
}; // BLEUUID
#endif /* CONFIG_BT_ENABLED */
#endif /* COMPONENTS_CPP_UTILS_BLEUUID_H_ */