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