Lines Matching full:uuid
267 if (p_rpt->uuid == GATT_UUID_HID_REPORT)
269 if (p_rpt->uuid == GATT_UUID_HID_BT_KB_INPUT)
271 if (p_rpt->uuid == GATT_UUID_HID_BT_KB_OUTPUT)
273 if (p_rpt->uuid == GATT_UUID_HID_BT_MOUSE_INPUT)
278 p_rpt->uuid ,
296 static char *bta_hh_uuid_to_str(UINT16 uuid)
298 switch(uuid)
323 return "Unknown UUID";
512 ** Description find the report entry by service instance and report UUID and
537 if (p_rpt->uuid == rpt_uuid &&
573 if (p_rpt->uuid == GATT_UUID_BATTERY_LEVEL)
576 if (mode == BTA_HH_PROTO_RPT_MODE && p_rpt->uuid == GATT_UUID_HID_REPORT)
580 (p_rpt->uuid >= GATT_UUID_HID_BT_KB_INPUT && p_rpt->uuid <= GATT_UUID_HID_BT_MOUSE_INPUT))
614 (p_rpt->uuid == rpt_uuid &&
624 p_rpt->uuid = rpt_uuid;
667 if (p_char->uuid.len == LEN_UUID_16 &&
668 p_desc->uuid.uu.uuid16 == short_uuid)
722 rpt_entry.rpt_uuid = p_rpt->uuid;
758 assume it's a 16 bits UUID */
765 APPL_TRACE_DEBUG("%s: External Report Reference UUID 0x%04x", __func__,
794 if (register_ba && p_rpt->uuid == GATT_UUID_BATTERY_LEVEL)
802 if (p_rpt->uuid == GATT_UUID_HID_REPORT &&
810 else if (p_rpt->uuid == GATT_UUID_HID_BT_KB_INPUT ||
811 p_rpt->uuid == GATT_UUID_HID_BT_MOUSE_INPUT)
820 if ((p_rpt->uuid == GATT_UUID_HID_BT_KB_INPUT ||
821 p_rpt->uuid == GATT_UUID_HID_BT_MOUSE_INPUT) &&
829 else if (p_rpt->uuid == GATT_UUID_HID_REPORT &&
1383 if (incl_svc->uuid.uu.uuid16 == UUID_SERVCLASS_BATTERY &&
1384 incl_svc->uuid.len == LEN_UUID_16) {
1386 /* read include service UUID */
1392 if (p_char->uuid.uu.uuid16 == GATT_UUID_BATTERY_LEVEL &&
1393 p_char->uuid.len == LEN_UUID_16) {
1429 if(p_char->uuid.len != LEN_UUID_16)
1432 LOG_DEBUG(LOG_TAG, "%s: %s 0x%04d", __func__, bta_hh_uuid_to_str(p_char->uuid.uu.uuid16),
1433 p_char->uuid.uu.uuid16);
1435 switch (p_char->uuid.uu.uuid16)
1471 p_char->uuid.uu.uuid16,
1479 bta_hh_uuid_to_str(p_char->uuid.uu.uuid16),
1480 p_char->uuid.uu.uuid16);
1489 if(p_char->uuid.len != LEN_UUID_16 &&
1490 p_char->uuid.uu.uuid16 == GATT_UUID_HID_PROTO_MODE) {
1530 if (service->uuid.uu.uuid16 == UUID_SERVCLASS_LE_HID &&
1544 } else if (service->uuid.uu.uuid16 == UUID_SERVCLASS_SCAN_PARAM) {
1550 if (p_char->uuid.len == LEN_UUID_16 &&
1551 p_char->uuid.uu.uuid16 == GATT_UUID_SCAN_REFRESH) {
1563 } else if (service->uuid.uu.uuid16 == UUID_SERVCLASS_GAP_SERVER) {
1568 if (p_char->uuid.len == LEN_UUID_16 &&
1569 p_char->uuid.uu.uuid16 == GATT_UUID_GAP_PREF_CONN_PARAM) {
1661 p_char->uuid.uu.uuid16,
1742 UINT16 char_uuid = p_char->uuid.uu.uuid16;
1801 APPL_TRACE_ERROR("read uuid %s[0x%04x] error: %d", bta_hh_uuid_to_str(char_uuid),
1804 APPL_TRACE_ERROR("read uuid [0x%04x] error: %d", char_uuid, p_data->status);
1826 UINT16 char_uuid = p_char->uuid.uu.uuid16;
1844 APPL_TRACE_ERROR("Unexpected Read UUID: 0x%04x", char_uuid);
1868 if (p_desc->uuid.uu.uuid16 == GATT_UUID_CHAR_CLIENT_CONFIG)
1872 p_desc->characteristic->uuid.uu.uuid16,
1908 char_uuid16 = p_desc->characteristic->uuid.uu.uuid16;
1911 APPL_TRACE_DEBUG("bta_hh_w4_le_read_descr_cmpl uuid: %s(0x%04x)",
1912 bta_hh_uuid_to_str(p_desc->uuid.uu.uuid16),
1913 p_desc->uuid
1939 APPL_TRACE_ERROR("unknown descriptor read complete for uuid: 0x%04x", char_uuid16);
1963 if (p_char->uuid.uu.uuid16 == GATT_UUID_HID_PROTO_MODE)
1996 switch (p_char->uuid.uu.uuid16)
2050 UINT16 desc_uuid = p_desc->uuid.uu.uuid16;
2051 UINT16 char_uuid = p_desc->characteristic->uuid.uu.uuid16;
2122 p_char->uuid.uu.uuid16,
2130 if (p_char->uuid.uu.uuid16 == GATT_UUID_HID_BT_MOUSE_INPUT)
2132 else if (p_char->uuid.uu.uuid16 == GATT_UUID_HID_BT_KB_INPUT)
2779 // if(p_rpt->uuid == GATT_UUID_HID_BT_KB_INPUT ||
2780 // p_rpt->uuid == GATT_UUID_HID_BT_MOUSE_INPUT ||
2781 // (p_rpt->uuid == GATT_UUID_HID_REPORT && p_rpt->rpt_type == BTA_HH_RPTT_INPUT))