Skip to content

Commit

Permalink
Review update
Browse files Browse the repository at this point in the history
  • Loading branch information
DamMicSzm committed Sep 29, 2023
1 parent 7d39bc2 commit 12b964e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/platform/Tizen/BLEManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -754,8 +754,8 @@ static bool __GattClientForeachServiceCb(int total, int index, bt_gatt_h svcHand
auto conn = static_cast<BLEConnection *>(data);
ChipLogProgress(DeviceLayer, "__GattClientForeachServiceCb");

VerifyOrReturnValue(__GetAttInfo(svcHandle, &MakeUniquePointerReceiver(uuid).Get(), &type) == BT_ERROR_NONE, true,
ChipLogError(DeviceLayer, "Failed to fetch GATT Attribute from SVC handle"));
VerifyOrExit(__GetAttInfo(svcHandle, &MakeUniquePointerReceiver(uuid).Get(), &type) == BT_ERROR_NONE,
ChipLogError(DeviceLayer, "Failed to fetch GATT Attribute from SVC handle"));

if (strcasecmp(uuid.get(), chip_ble_service_uuid) == 0)
{
Expand All @@ -768,6 +768,8 @@ static bool __GattClientForeachServiceCb(int total, int index, bt_gatt_h svcHand
return false;
}

exit:
/* Try next Service UUID */
return true;
}

Expand Down

0 comments on commit 12b964e

Please sign in to comment.