mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2024-11-22 13:10:55 +01:00
Fixup client logs.
This commit is contained in:
parent
0f4326d3fd
commit
a1428e63a6
1 changed files with 3 additions and 3 deletions
|
@ -768,7 +768,7 @@ int NimBLEClient::serviceDiscoveredCB(
|
||||||
if(error->status == BLE_HS_EDONE) {
|
if(error->status == BLE_HS_EDONE) {
|
||||||
pTaskData->rc = 0;
|
pTaskData->rc = 0;
|
||||||
} else {
|
} else {
|
||||||
NIMBLE_LOGE(LOG_TAG, "characteristicDiscCB() rc=%d %s",
|
NIMBLE_LOGE(LOG_TAG, "serviceDiscoveredCB() rc=%d %s",
|
||||||
error->status,
|
error->status,
|
||||||
NimBLEUtils::returnCodeToString(error->status));
|
NimBLEUtils::returnCodeToString(error->status));
|
||||||
pTaskData->rc = error->status;
|
pTaskData->rc = error->status;
|
||||||
|
@ -776,7 +776,7 @@ int NimBLEClient::serviceDiscoveredCB(
|
||||||
|
|
||||||
xTaskNotifyGive(pTaskData->task);
|
xTaskNotifyGive(pTaskData->task);
|
||||||
|
|
||||||
NIMBLE_LOGD(LOG_TAG,"<< << Service Discovered");
|
NIMBLE_LOGD(LOG_TAG,"<< Service Discovered");
|
||||||
return error->status;
|
return error->status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue