Home
last modified time | relevance | path

Searched refs:p_cur (Results 1 – 10 of 10) sorted by relevance

/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/
Dgatt_db.c720 tGATT_ATTR16 *p_cur; in gatts_set_attribute_value() local
735 p_cur = (tGATT_ATTR16 *) p_db->p_attr_list; in gatts_set_attribute_value()
737 while (p_cur != NULL) { in gatts_set_attribute_value()
738 if (p_cur->handle == attr_handle) { in gatts_set_attribute_value()
740 if (p_cur->uuid_type == GATT_ATTR_UUID_TYPE_16) { in gatts_set_attribute_value()
741 switch (p_cur->uuid) { in gatts_set_attribute_value()
751 if ((p_cur->p_value == NULL) || (p_cur->p_value->attr_val.attr_val == NULL) \ in gatts_set_attribute_value()
752 || (p_cur->p_value->attr_val.attr_max_len == 0)){ in gatts_set_attribute_value()
755 } else if (p_cur->p_value->attr_val.attr_max_len < length) { in gatts_set_attribute_value()
759 memcpy(p_cur->p_value->attr_val.attr_val, value, length); in gatts_set_attribute_value()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/
Dbtm_inq.c1028 tBTM_INQ_INFO *p_cur = NULL; in BTM_ReadRemoteDeviceName() local
1037 p_cur = &p_i->inq_info; in BTM_ReadRemoteDeviceName()
1043 return btm_ble_read_remote_name(remote_bda, p_cur, p_cb); in BTM_ReadRemoteDeviceName()
1047 return (btm_initiate_rem_name (remote_bda, p_cur, BTM_RMT_NAME_EXT, in BTM_ReadRemoteDeviceName()
1161 tBTM_INQ_INFO *BTM_InqDbNext (tBTM_INQ_INFO *p_cur) in BTM_InqDbNext() argument
1166 if (p_cur) { in BTM_InqDbNext()
1167 p_ent = (tINQ_DB_ENT *) ((UINT8 *)p_cur - offsetof (tINQ_DB_ENT, inq_info)); in BTM_InqDbNext()
1808 tBTM_INQ_RESULTS *p_cur = NULL; in btm_process_inq_results() local
1887 p_cur = &p_i->inq_info.results; in btm_process_inq_results()
1888 BTM_TRACE_DEBUG("update RSSI new:%d, old:%d\n", i_rssi, p_cur->rssi); in btm_process_inq_results()
[all …]
Dbtm_ble_gap.c2875 tBTM_STATUS btm_ble_read_remote_name(BD_ADDR remote_bda, tBTM_INQ_INFO *p_cur, tBTM_CMPL_CB *p_cb) in btm_ble_read_remote_name() argument
2883 if (p_cur && in btm_ble_read_remote_name()
2884 p_cur->results.ble_evt_type != BTM_BLE_EVT_CONN_ADV && in btm_ble_read_remote_name()
2885 p_cur->results.ble_evt_type != BTM_BLE_EVT_CONN_DIR_ADV) { in btm_ble_read_remote_name()
2998 UINT8 *p_cur = p_data;
3005 if ((ad_len = *p_cur ++) == 0) {
3009 ad_type = *p_cur ++;
3021 memcpy(p_info->remote_name, p_cur, ad_len - 1);
3027 p_cur += (ad_len - 1);
3033 ad_flag = *p_cur ++;
[all …]
Dbtm_sec.c60 static tBTM_SEC_SERV_REC *btm_sec_find_next_serv (tBTM_SEC_SERV_REC *p_cur);
5541 static tBTM_SEC_SERV_REC *btm_sec_find_next_serv (tBTM_SEC_SERV_REC *p_cur) in btm_sec_find_next_serv() argument
5548 && (p_serv_rec->psm == p_cur->psm) ) { in btm_sec_find_next_serv()
5549 if (p_cur != p_serv_rec) { in btm_sec_find_next_serv()
/hal_espressif-latest/components/bt/host/bluedroid/bta/hh/
Dbta_hh_act.c188 tBTA_HH_DEV_CB *p_cb = bta_hh_cb.p_cur; in bta_hh_sdp_cback()
260 tBTA_HH_DEV_CB *p_cb = bta_hh_cb.p_cur; in bta_hh_di_sdp_cback()
327 bta_hh_cb.p_cur = p_cb; in bta_hh_start_sdp()
368 bta_hh_cb.p_cur = p_cb; in bta_hh_start_sdp()
/hal_espressif-latest/components/bt/host/bluedroid/bta/hh/include/
Dbta_hh_int.h293 tBTA_HH_DEV_CB *p_cur; /* current device control member
/hal_espressif-latest/components/bt/host/bluedroid/stack/btu/
Dbtu_hcif.c819 UINT8 *p_cur = p; in btu_hcif_read_rmt_ext_features_comp_evt() local
823 STREAM_TO_UINT8 (status, p_cur); in btu_hcif_read_rmt_ext_features_comp_evt()
828 STREAM_TO_UINT16 (handle, p_cur); in btu_hcif_read_rmt_ext_features_comp_evt()
/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/include/
Dbtm_ble_int.h397 tBTM_STATUS btm_ble_read_remote_name(BD_ADDR remote_bda, tBTM_INQ_INFO *p_cur, tBTM_CMPL_CB *p_cb);
Dbtm_int.h1017 tBTM_INQ_INFO *p_cur,
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/
Dbtm_api.h2689 tBTM_INQ_INFO *BTM_InqDbNext (tBTM_INQ_INFO *p_cur);