Searched refs:ccc_value (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Bluetooth/system/bta/ras/ |
D | ras_server.cc | 404 uint16_t ccc_value = 0; in OnReadDescriptor() local 406 ccc_value = trackers_[remote_bda].ccc_values_[characteristic->uuid_]; in OnReadDescriptor() 410 memcpy(p_msg.attr_value.value, &ccc_value, sizeof(uint16_t)); in OnReadDescriptor() 412 log::info("Send response for CCC value 0x{:04x}", ccc_value); in OnReadDescriptor() 536 uint16_t ccc_value; in OnWriteDescriptor() local 537 STREAM_TO_UINT16(ccc_value, value); in OnWriteDescriptor() 539 trackers_[remote_bda].ccc_values_[characteristic->uuid_] = ccc_value; in OnWriteDescriptor() 542 getUuidName(characteristic->uuid_), conn_id, ccc_value); in OnWriteDescriptor() 581 uint16_t ccc_value = tracker->ccc_values_[kRasOnDemandDataCharacteristic]; in OnGetRangingData() local 584 bool need_confirm = ccc_value & GATT_CLT_CONFIG_INDICATION; in OnGetRangingData() [all …]
|
/packages/modules/Bluetooth/system/stack/gatt/ |
D | gatt_attr.cc | 739 tGATT_VALUE ccc_value; in gatt_cl_start_config_ccc() local 740 memset(&ccc_value, 0, sizeof(tGATT_VALUE)); in gatt_cl_start_config_ccc() 741 ccc_value.handle = p_clcb->s_handle; in gatt_cl_start_config_ccc() 742 ccc_value.len = 2; in gatt_cl_start_config_ccc() 743 ccc_value.value[0] = GATT_CLT_CONFIG_INDICATION; in gatt_cl_start_config_ccc() 744 if (GATTC_Write(p_clcb->conn_id, GATT_WRITE, &ccc_value) != in gatt_cl_start_config_ccc()
|