• Home
  • Raw
  • Download

Lines Matching refs:p_char

167 …    const tBTA_GATTC_CHARACTERISTIC *p_char = BTA_GATTC_GetCharacteristic(op->conn_id, op->handle);  in gatt_execute_next_op()  local
170 BTA_GATTC_ReadCharacteristic(op->conn_id, p_char->handle, BTA_GATT_AUTH_REQ_NONE); in gatt_execute_next_op()
180 … const tBTA_GATTC_CHARACTERISTIC *p_char = BTA_GATTC_GetCharacteristic(op->conn_id, op->handle); in gatt_execute_next_op() local
182 BTA_GATTC_WriteCharValue(op->conn_id, p_char->handle, op->write_type, op->len, in gatt_execute_next_op()
652 const tBTA_GATTC_CHARACTERISTIC *p_char = in find_descriptor_by_short_uuid() local
655 if (!p_char) { in find_descriptor_by_short_uuid()
660 if (!p_char->descriptors || list_is_empty(p_char->descriptors)) in find_descriptor_by_short_uuid()
663 for (list_node_t *dn = list_begin(p_char->descriptors); in find_descriptor_by_short_uuid()
664 dn != list_end(p_char->descriptors); dn = list_next(dn)) { in find_descriptor_by_short_uuid()
667 if (p_char->uuid.len == LEN_UUID_16 && in find_descriptor_by_short_uuid()
1426 tBTA_GATTC_CHARACTERISTIC *p_char = list_node(cn); in process_included() local
1427 if (p_char->uuid.uu.uuid16 == GATT_UUID_BATTERY_LEVEL && in process_included()
1428 p_char->uuid.len == LEN_UUID_16) { in process_included()
1433 p_char->handle) == NULL) in process_included()
1436 gatt_queue_read_op(GATT_READ_CHAR, p_dev_cb->conn_id, p_char->handle); in process_included()
1462 tBTA_GATTC_CHARACTERISTIC *p_char = list_node(cn); in bta_hh_le_search_hid_chars() local
1464 if(p_char->uuid.len != LEN_UUID_16) in bta_hh_le_search_hid_chars()
1467 LOG_DEBUG(LOG_TAG, "%s: %s 0x%04d", __func__, bta_hh_uuid_to_str(p_char->uuid.uu.uuid16), in bta_hh_le_search_hid_chars()
1468 p_char->uuid.uu.uuid16); in bta_hh_le_search_hid_chars()
1470 switch (p_char->uuid.uu.uuid16) in bta_hh_le_search_hid_chars()
1473 p_dev_cb->hid_srvc.control_point_handle = p_char->handle; in bta_hh_le_search_hid_chars()
1478 gatt_queue_read_op(GATT_READ_CHAR, p_dev_cb->conn_id, p_char->handle); in bta_hh_le_search_hid_chars()
1480 bta_hh_le_read_char_dscrpt(p_dev_cb, p_char->handle, in bta_hh_le_search_hid_chars()
1488 p_char->handle); in bta_hh_le_search_hid_chars()
1497 bta_hh_le_read_char_dscrpt(p_dev_cb, p_char->handle, GATT_UUID_RPT_REF_DESCR); in bta_hh_le_search_hid_chars()
1506 p_char->uuid.uu.uuid16, in bta_hh_le_search_hid_chars()
1507 p_char->handle) == NULL) in bta_hh_le_search_hid_chars()
1514 bta_hh_uuid_to_str(p_char->uuid.uu.uuid16), in bta_hh_le_search_hid_chars()
1515 p_char->uuid.uu.uuid16); in bta_hh_le_search_hid_chars()
1522 tBTA_GATTC_CHARACTERISTIC *p_char = list_node(cn); in bta_hh_le_search_hid_chars() local
1524 if(p_char->uuid.len != LEN_UUID_16 && in bta_hh_le_search_hid_chars()
1525 p_char->uuid.uu.uuid16 == GATT_UUID_HID_PROTO_MODE) { in bta_hh_le_search_hid_chars()
1526 p_dev_cb->hid_srvc.proto_mode_handle = p_char->handle; in bta_hh_le_search_hid_chars()
1584 tBTA_GATTC_CHARACTERISTIC *p_char = list_node(cn); in bta_hh_le_srvc_search_cmpl() local
1585 if (p_char->uuid.len == LEN_UUID_16 && in bta_hh_le_srvc_search_cmpl()
1586 p_char->uuid.uu.uuid16 == GATT_UUID_SCAN_REFRESH) { in bta_hh_le_srvc_search_cmpl()
1588 p_dev_cb->scan_refresh_char_handle = p_char->handle; in bta_hh_le_srvc_search_cmpl()
1590 if (p_char->properties & BTA_GATT_CHAR_PROP_BIT_NOTIFY) in bta_hh_le_srvc_search_cmpl()
1602 tBTA_GATTC_CHARACTERISTIC *p_char = list_node(cn); in bta_hh_le_srvc_search_cmpl() local
1603 if (p_char->uuid.len == LEN_UUID_16 && in bta_hh_le_srvc_search_cmpl()
1604 p_char->uuid.uu.uuid16 == GATT_UUID_GAP_PREF_CONN_PARAM) { in bta_hh_le_srvc_search_cmpl()
1607 gatt_queue_read_op(GATT_READ_CHAR, p_dev_cb->conn_id, p_char->handle); in bta_hh_le_srvc_search_cmpl()
1685 const tBTA_GATTC_CHARACTERISTIC *p_char = BTA_GATTC_GetCharacteristic(p_dev_cb->conn_id, in bta_hh_le_proc_get_rpt_cmpl() local
1695 p_char->service->handle, in bta_hh_le_proc_get_rpt_cmpl()
1696 p_char->uuid.uu.uuid16, in bta_hh_le_proc_get_rpt_cmpl()
1697 p_char->handle); in bta_hh_le_proc_get_rpt_cmpl()
1775 const tBTA_GATTC_CHARACTERISTIC *p_char = BTA_GATTC_GetCharacteristic(p_dev_cb->conn_id, in bta_hh_w4_le_read_char_cmpl() local
1777 UINT16 char_uuid = p_char->uuid.uu.uuid16; in bta_hh_w4_le_read_char_cmpl()
1859 const tBTA_GATTC_CHARACTERISTIC *p_char = BTA_GATTC_GetCharacteristic(p_dev_cb->conn_id, in bta_hh_le_read_char_cmpl() local
1861 UINT16 char_uuid = p_char->uuid.uu.uuid16; in bta_hh_le_read_char_cmpl()
1995 const tBTA_GATTC_CHARACTERISTIC *p_char = BTA_GATTC_GetCharacteristic(p_dev_cb->conn_id, in bta_hh_w4_le_write_cmpl() local
1998 if (p_char->uuid.uu.uuid16 == GATT_UUID_HID_PROTO_MODE) in bta_hh_w4_le_write_cmpl()
2025 const tBTA_GATTC_CHARACTERISTIC *p_char = BTA_GATTC_GetCharacteristic(p_dev_cb->conn_id, in bta_hh_le_write_cmpl() local
2031 switch (p_char->uuid.uu.uuid16) in bta_hh_le_write_cmpl()
2150 const tBTA_GATTC_CHARACTERISTIC *p_char = BTA_GATTC_GetCharacteristic(p_dev_cb->conn_id, in bta_hh_le_input_rpt_notify() local
2157 p_char->uuid.uu.uuid16, in bta_hh_le_input_rpt_notify()
2158 p_char->handle); in bta_hh_le_input_rpt_notify()
2165 if (p_char->uuid.uu.uuid16 == GATT_UUID_HID_BT_MOUSE_INPUT) in bta_hh_le_input_rpt_notify()
2167 else if (p_char->uuid.uu.uuid16 == GATT_UUID_HID_BT_KB_INPUT) in bta_hh_le_input_rpt_notify()
2357 const tBTA_GATTC_CHARACTERISTIC *p_char = BTA_GATTC_GetCharacteristic(p_cb->conn_id, in bta_hh_le_write_rpt() local
2361 if (p_char && (p_char->properties & BTA_GATT_CHAR_PROP_BIT_WRITE_NR)) in bta_hh_le_write_rpt()