Home
last modified time | relevance | path

Searched refs:resp_buf (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/drivers/bluetooth/hci/
Dhci_silabs_siwx91x.c16 static void siwx91x_bt_resp_rcvd(uint16_t status, rsi_ble_event_rcp_rcvd_info_t *resp_buf);
69 static void siwx91x_bt_resp_rcvd(uint16_t status, rsi_ble_event_rcp_rcvd_info_t *resp_buf) in siwx91x_bt_resp_rcvd() argument
80 memcpy(&packet_type, (resp_buf->data - 12), 1); in siwx91x_bt_resp_rcvd()
83 struct bt_hci_evt_hdr *hdr = (void *)resp_buf->data; in siwx91x_bt_resp_rcvd()
90 struct bt_hci_acl_hdr *hdr = (void *)resp_buf->data; in siwx91x_bt_resp_rcvd()
102 net_buf_add_mem(buf, resp_buf->data, len); in siwx91x_bt_resp_rcvd()
/Zephyr-latest/subsys/bluetooth/host/classic/shell/
Dbredr.c384 if (result && result->resp_buf) { in sdp_hfp_ag_user()
386 " remote %s", result->resp_buf, in sdp_hfp_ag_user()
387 result->resp_buf->len, result->next_record_hint, in sdp_hfp_ag_user()
394 err = bt_sdp_get_proto_param(result->resp_buf, in sdp_hfp_ag_user()
402 err = bt_sdp_get_profile_version(result->resp_buf, in sdp_hfp_ag_user()
415 err = bt_sdp_get_features(result->resp_buf, &features); in sdp_hfp_ag_user()
439 if (result && result->resp_buf) { in sdp_a2src_user()
441 " remote %s", result->resp_buf, in sdp_a2src_user()
442 result->resp_buf->len, result->next_record_hint, in sdp_a2src_user()
449 err = bt_sdp_get_proto_param(result->resp_buf, in sdp_a2src_user()
[all …]
/Zephyr-latest/tests/bluetooth/classic/sdp_c/src/
Dsdp_client.c126 if ((result == NULL) || (result->resp_buf == NULL) || (result->resp_buf->len == 0)) { in sdp_discover_func()
139 err = bt_sdp_get_proto_param(result->resp_buf, BT_SDP_PROTO_L2CAP, &param); in sdp_discover_func()
143 err = bt_sdp_get_proto_param(result->resp_buf, BT_SDP_PROTO_RFCOMM, &param); in sdp_discover_func()
148 err = bt_sdp_get_profile_version(result->resp_buf, svclass_list[i], &param); in sdp_discover_func()
153 err = bt_sdp_get_features(result->resp_buf, &param); in sdp_discover_func()
158 for (uint16_t i = 0; i < result->resp_buf->len; i++) { in sdp_discover_func()
159 printk("%02X", result->resp_buf->data[i]); in sdp_discover_func()
/Zephyr-latest/subsys/bluetooth/host/classic/
Dssp.c612 struct net_buf *resp_buf; in io_capa_neg_reply() local
614 resp_buf = bt_hci_cmd_create(BT_HCI_OP_IO_CAPABILITY_NEG_REPLY, in io_capa_neg_reply()
616 if (!resp_buf) { in io_capa_neg_reply()
621 cp = net_buf_add(resp_buf, sizeof(*cp)); in io_capa_neg_reply()
624 bt_hci_cmd_send_sync(BT_HCI_OP_IO_CAPABILITY_NEG_REPLY, resp_buf, NULL); in io_capa_neg_reply()
670 struct net_buf *resp_buf; in bt_hci_io_capa_req() local
749 resp_buf = bt_hci_cmd_create(BT_HCI_OP_IO_CAPABILITY_REPLY, sizeof(*cp)); in bt_hci_io_capa_req()
750 if (!resp_buf) { in bt_hci_io_capa_req()
756 cp = net_buf_add(resp_buf, sizeof(*cp)); in bt_hci_io_capa_req()
761 bt_hci_cmd_send_sync(BT_HCI_OP_IO_CAPABILITY_REPLY, resp_buf, NULL); in bt_hci_io_capa_req()
Dsdp.c590 struct net_buf *resp_buf; in sdp_svc_search_req() local
646 resp_buf = bt_sdp_create_pdu(); in sdp_svc_search_req()
647 rsp = net_buf_add(resp_buf, sizeof(*rsp)); in sdp_svc_search_req()
667 if ((MIN(SDP_MTU, sdp->chan.tx.mtu) - resp_buf->len) < in sdp_svc_search_req()
675 net_buf_add_u8(resp_buf, SDP_SS_CONT_STATE_SIZE); in sdp_svc_search_req()
676 net_buf_add_u8(resp_buf, cont_state); in sdp_svc_search_req()
690 net_buf_add_be32(resp_buf, record->handle); in sdp_svc_search_req()
696 net_buf_add_u8(resp_buf, 0); in sdp_svc_search_req()
698 net_buf_add_be16(resp_buf, total_recs); in sdp_svc_search_req()
704 LOG_DBG("Sending response, len %u", resp_buf->len); in sdp_svc_search_req()
[all …]
/Zephyr-latest/samples/bluetooth/handsfree_ag/src/
Dmain.c122 if (result->resp_buf != NULL) { in sdp_discover_cb()
123 err = bt_sdp_get_proto_param(result->resp_buf, BT_SDP_PROTO_RFCOMM, &value); in sdp_discover_cb()
/Zephyr-latest/include/zephyr/bluetooth/classic/
Dsdp.h481 struct net_buf *resp_buf; member