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

Commit f2b348d3 authored by Chris Manton's avatar Chris Manton
Browse files

Add BTA_ID_HH for logging

Bug: 163134718
Test: gd/cert/run
Tag: #refactor

Change-Id: Ib3798e340688cc400f96b743afc15f46e365022a
parent d2968e6a
Loading
Loading
Loading
Loading
+9 −7
Original line number Diff line number Diff line
@@ -100,19 +100,21 @@ typedef uint8_t tBTA_SYS_ID;

inline std::string BtaIdSysText(tBTA_SYS_ID sys_id) {
  switch (sys_id) {
    case BTA_ID_DM_SEARCH:
    case BTA_ID_DM_SEARCH:  // 2
      return std::string("Scanner");
    case BTA_ID_AG:
    case BTA_ID_AG:  // 5
      return std::string("Audio gateway");
    case BTA_ID_PAN:
    case BTA_ID_PAN:  // 14
      return std::string("PAN Personal area network");
    case BTA_ID_AV:
    case BTA_ID_AV:  // 18
      return std::string("Advanced audio/video");
    case BTA_ID_HD:
    case BTA_ID_HD:  // 20
      return std::string("HID Human interface device");
    case BTA_ID_GATTC:
    case BTA_ID_HH:  // 23
      return std::string("HID Human interface host");
    case BTA_ID_GATTC:  // 31
      return std::string("GATT client");
    case BTA_ID_GATTS:
    case BTA_ID_GATTS:  // 32
      return std::string("GATT server");
    default:
      return std::string("Unknown");