Home
last modified time | relevance | path

Searched refs:step_data_buf (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/samples/bluetooth/channel_sounding/src/
Dcs_test_initiator.c72 if (result->step_data_buf) { in subevent_result_cb()
73 if (result->step_data_buf->len <= STEP_DATA_BUF_LEN) { in subevent_result_cb()
74 memcpy(latest_local_steps, result->step_data_buf->data, in subevent_result_cb()
75 result->step_data_buf->len); in subevent_result_cb()
76 latest_step_data_len = result->step_data_buf->len; in subevent_result_cb()
79 result->step_data_buf->len, STEP_DATA_BUF_LEN); in subevent_result_cb()
Dcs_test_reflector.c39 if (result->step_data_buf) { in subevent_result_cb()
40 if (result->step_data_buf->len <= STEP_DATA_BUF_LEN) { in subevent_result_cb()
41 memcpy(latest_local_steps, result->step_data_buf->data, in subevent_result_cb()
42 result->step_data_buf->len); in subevent_result_cb()
45 result->step_data_buf->len, STEP_DATA_BUF_LEN); in subevent_result_cb()
Dconnected_cs_reflector.c37 if (result->step_data_buf) { in subevent_result_cb()
38 if (result->step_data_buf->len <= STEP_DATA_BUF_LEN) { in subevent_result_cb()
39 memcpy(latest_local_steps, result->step_data_buf->data, in subevent_result_cb()
40 result->step_data_buf->len); in subevent_result_cb()
43 result->step_data_buf->len, STEP_DATA_BUF_LEN); in subevent_result_cb()
Dconnected_cs_initiator.c75 if (result->step_data_buf) { in subevent_result_cb()
76 if (result->step_data_buf->len <= STEP_DATA_BUF_LEN) { in subevent_result_cb()
77 memcpy(latest_local_steps, result->step_data_buf->data, in subevent_result_cb()
78 result->step_data_buf->len); in subevent_result_cb()
79 latest_step_data_len = result->step_data_buf->len; in subevent_result_cb()
82 result->step_data_buf->len, STEP_DATA_BUF_LEN); in subevent_result_cb()
/Zephyr-latest/subsys/bluetooth/host/
Dcs.c600 struct net_buf_simple step_data_buf; in bt_hci_le_cs_subevent_result() local
628 p_result->step_data_buf = NULL; in bt_hci_le_cs_subevent_result()
630 net_buf_simple_init_with_data(&step_data_buf, evt->steps, buf->len); in bt_hci_le_cs_subevent_result()
631 p_result->step_data_buf = &step_data_buf; in bt_hci_le_cs_subevent_result()
651 p_result->step_data_buf = (struct net_buf_simple *)&reassembly_buf->data; in bt_hci_le_cs_subevent_result()
1311 void bt_le_cs_step_data_parse(struct net_buf_simple *step_data_buf, in bt_le_cs_step_data_parse() argument
1315 if (!step_data_buf) { in bt_le_cs_step_data_parse()
1320 while (step_data_buf->len > 1) { in bt_le_cs_step_data_parse()
1323 step.mode = net_buf_simple_pull_u8(step_data_buf); in bt_le_cs_step_data_parse()
1324 step.channel = net_buf_simple_pull_u8(step_data_buf); in bt_le_cs_step_data_parse()
[all …]
/Zephyr-latest/include/zephyr/bluetooth/
Dcs.h705 void bt_le_cs_step_data_parse(struct net_buf_simple *step_data_buf,
Dconn.h663 struct net_buf_simple *step_data_buf; member
/Zephyr-latest/subsys/bluetooth/host/shell/
Dcs.c176 if (result->step_data_buf) { in cs_test_subevent_data_cb()
177 bt_le_cs_step_data_parse(result->step_data_buf, process_step_data, NULL); in cs_test_subevent_data_cb()