Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27b7af10 authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Fix gatt_server_old service added logic

Bug: 31274906
Change-Id: Ifb4ee2a5f1ebcc14e2e1b60caa2fe6536d20946b
parent a69c9c49
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -151,7 +151,7 @@ void ServiceAddedCallback(int status, int server_if, vector<btgatt_db_element_t>
  uint16_t prev_char_properties = 0;
  for (size_t i = 1; i<service.size(); i++) {
    const btgatt_db_element_t &el = service[i];
    if (el.type == BTGATT_DB_CHARACTERISTIC) {
    if (el.type == BTGATT_DB_DESCRIPTOR) {
      LOG_INFO(LOG_TAG, "%s: descr_handle:%d", __func__, el.attribute_handle);
    } else if (el.type == BTGATT_DB_CHARACTERISTIC) {
      bluetooth::UUID id(el.uuid);