8000 Replaced error message for double characteristics · lebinlv/esp32-snippets@247d66d · GitHub
[go: up one dir, main page]

Skip to content

Commit 247d66d

Browse files
authored
Replaced error message for double characteristics
Made the fix that @chegewara proposed. I was confused by the error and found this github issue in the repository: nkolban#175
1 parent d2f7e10 commit 247d66d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp_utils/BLEService.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ void BLEService::addCharacteristic(BLECharacteristic* pCharacteristic) {
192192

193193
// Check that we don't add the same characteristic twice.
194194
if (m_characteristicMap.getByUUID(pCharacteristic->getUUID()) != nullptr) {
195-
ESP_LOGE(LOG_TAG, "<< Attempt to add a characteristic but we already have one with this UUID");
195+
ESP_LOGW(LOG_TAG, "<< Adding a new characteristic with the same UUID as a previous one");
196196
//return;
197197
}
198198

0 commit comments

Comments
 (0)
0