We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 108e467 commit 67583e8Copy full SHA for 67583e8
libraries/BLE/src/BLECharacteristic.cpp
@@ -191,7 +191,7 @@ uint8_t* BLECharacteristic::getData() {
191
* @brief Retrieve the current length of the data of the characteristic.
192
* @return Amount of databytes of the characteristic.
193
*/
194
-uint8_t BLECharacteristic::getLength() {
+size_t BLECharacteristic::getLength() {
195
return m_value.getLength();
196
} // getLength
197
libraries/BLE/src/BLECharacteristic.h
@@ -62,7 +62,7 @@ class BLECharacteristic {
62
BLEUUID getUUID();
63
std::string getValue();
64
uint8_t* getData();
65
- uint8_t getLength();
+ size_t getLength();
66
67
void indicate();
68
void notify(bool is_notification = true);
0 commit comments