Home
last modified time | relevance | path

Searched refs:att_value (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Bluetooth/system/stack/srvc/
Dsrvc_dis.cc280 pp = p_data->att_value.value; in dis_c_cmpl_cback()
285 if (p_data->att_value.len == DIS_SYSTEM_ID_SIZE) { in dis_c_cmpl_cback()
293 if (p_data->att_value.len == DIS_PNP_ID_SIZE) { in dis_c_cmpl_cback()
312 p_str = (uint8_t*)osi_malloc(p_data->att_value.len + 1); in dis_c_cmpl_cback()
314 memcpy(p_str, p_data->att_value.value, p_data->att_value.len); in dis_c_cmpl_cback()
315 p_str[p_data->att_value.len] = 0; in dis_c_cmpl_cback()
/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gattc_act.cc1150 if (handle == 0) handle = p_data->p_cmpl->att_value.handle; in bta_gattc_read_cmpl()
1156 p_data->p_cmpl->att_value.len, p_data->p_cmpl->att_value.value, in bta_gattc_read_cmpl()
1168 p_data->p_cmpl->att_value.len, p_data->p_cmpl->att_value.value, in bta_gattc_read_cmpl()
1184 p_data->p_cmpl->att_value.handle); in bta_gattc_write_cmpl()
1187 cb(p_clcb->bta_conn_id, p_data->status, p_data->p_cmpl->att_value.handle, in bta_gattc_write_cmpl()
1188 p_data->p_cmpl->att_value.len, p_data->p_cmpl->att_value.value, in bta_gattc_write_cmpl()
1193 p_data->p_cmpl->att_value.handle); in bta_gattc_write_cmpl()
1195 cb(p_clcb->bta_conn_id, p_data->status, p_data->p_cmpl->att_value.handle, in bta_gattc_write_cmpl()
1477 tGATT_VALUE* att_value) { in bta_gattc_process_srvc_chg_ind() argument
1497 if (att_value->len != BTA_GATTC_SERVICE_CHANGED_LEN) { in bta_gattc_process_srvc_chg_ind()
[all …]
Dbta_gattc_cache.cc760 uint16_t len = p_data->p_cmpl->att_value.len; in bta_gattc_read_db_hash_cmpl()
761 uint8_t* data = p_data->p_cmpl->att_value.value; in bta_gattc_read_db_hash_cmpl()
857 const tGATT_VALUE& att_value = p_data->p_cmpl->att_value; in bta_gattc_read_ext_prop_desc_cmpl() local
858 if (p_srvc_cb->read_multiple_not_supported && att_value.len != 2) { in bta_gattc_read_ext_prop_desc_cmpl()
867 const uint8_t* p = att_value.value; in bta_gattc_read_ext_prop_desc_cmpl()
869 while (p < att_value.value + att_value.len) { in bta_gattc_read_ext_prop_desc_cmpl()
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_utils.cc1699 memset(&cb_data.att_value, 0, sizeof(tGATT_VALUE)); in gatt_end_operation()
1703 cb_data.att_value.handle = p_clcb->s_handle; in gatt_end_operation()
1704 cb_data.att_value.len = p_clcb->counter; in gatt_end_operation()
1706 if (cb_data.att_value.len > GATT_MAX_ATTR_LEN) { in gatt_end_operation()
1707 log::warn("Large cb_data.att_value, size={}", cb_data.att_value.len); in gatt_end_operation()
1708 cb_data.att_value.len = GATT_MAX_ATTR_LEN; in gatt_end_operation()
1712 memcpy(cb_data.att_value.value, p_data, cb_data.att_value.len); in gatt_end_operation()
1716 memset(&cb_data.att_value, 0, sizeof(tGATT_VALUE)); in gatt_end_operation()
1717 cb_data.handle = cb_data.att_value.handle = p_clcb->s_handle; in gatt_end_operation()
1720 cb_data.att_value = *((tGATT_VALUE*)p_data); in gatt_end_operation()
Dgatt_attr.cc634 uint8_t* pp = p_data->att_value.value; in gatt_cl_op_cmpl_cback()
693 gatt_att_write_cl_supp_feat(conn_id, p_data->att_value.handle); in gatt_cl_op_cmpl_cback()
Dgatt_cl.cc730 gatt_cl_complete.att_value = value; in gatt_process_notification()
770 gatt_cl_complete.att_value = value; in gatt_process_notification()
/packages/modules/Bluetooth/system/bta/test/
Dbta_gatt_test.cc119 .att_value =
/packages/modules/Bluetooth/system/stack/gap/
Dgap_ble.cc347 pp = p_data->att_value.value; in client_cmpl_cback()
/packages/modules/Bluetooth/system/stack/include/
Dgatt_api.h631 tGATT_VALUE att_value; member