Loading system/bta/sys/bta_sys.h +9 −7 Original line number Diff line number Diff line Loading @@ -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"); Loading Loading
system/bta/sys/bta_sys.h +9 −7 Original line number Diff line number Diff line Loading @@ -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"); Loading