8000 Merge pull request #440 from thomasvdwege/patch-1 · lebinlv/esp32-snippets@2951427 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2951427

Browse files
authored
Merge pull request nkolban#440 from thomasvdwege/patch-1
Replaced error message for double characteristics
2 parents d2f7e10 + 247d66d commit 2951427

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