We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7357667 commit a12d609Copy full SHA for a12d609
libraries/BLE/src/BLERemoteService.cpp
@@ -164,7 +164,7 @@ void BLERemoteService::retrieveCharacteristics() {
164
uint16_t offset = 0;
165
esp_gattc_char_elem_t result;
166
while (true) {
167
- uint16_t count = 10; // this value is used as in parameter that allows to search max 10 chars with the same uuid
+ uint16_t count = 1; // only room for 1 result allocated, so go one by one
168
esp_gatt_status_t status = ::esp_ble_gattc_get_all_char(
169
getClient()->getGattcIf(),
170
getClient()->getConnId(),
0 commit comments