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

Commit 7ac40cc6 authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

Add BTA_ID_HH for logging am: f2b348d3

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1692793

Change-Id: I814d0939fccd25f11c25f0e794c88c6258f28660
parents c6e11918 f2b348d3
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");