summaryrefslogtreecommitdiff
path: root/src/BLEUUID.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/BLEUUID.h')
-rw-r--r--src/BLEUUID.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/BLEUUID.h b/src/BLEUUID.h
index bbe9b87..5fb7795 100644
--- a/src/BLEUUID.h
+++ b/src/BLEUUID.h
@@ -24,11 +24,12 @@ 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.
bool equals(BLEUUID uuid);
esp_bt_uuid_t* getNative();
BLEUUID to128();
std::string toString();
- static BLEUUID fromString(std::string uuid);
+ 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.