Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/host/classic/shell/
Dbredr.c383 if (result && result->resp_buf) { in sdp_hfp_ag_user()
385 " remote %s", result->resp_buf, in sdp_hfp_ag_user()
386 result->resp_buf->len, result->next_record_hint, in sdp_hfp_ag_user()
393 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()
416 err = bt_sdp_get_features(result->resp_buf, &features); in sdp_hfp_ag_user()
443 if (result && result->resp_buf) { in sdp_a2src_user()
445 " remote %s", result->resp_buf, in sdp_a2src_user()
446 result->resp_buf->len, result->next_record_hint, in sdp_a2src_user()
453 err = bt_sdp_get_proto_param(result->resp_buf, in sdp_a2src_user()
[all …]
/Zephyr-latest/subsys/bluetooth/host/classic/
Dssp.c599 struct net_buf *resp_buf; in io_capa_neg_reply() local
601 resp_buf = bt_hci_cmd_create(BT_HCI_OP_IO_CAPABILITY_NEG_REPLY, in io_capa_neg_reply()
603 if (!resp_buf) { in io_capa_neg_reply()
608 cp = net_buf_add(resp_buf, sizeof(*cp)); in io_capa_neg_reply()
611 bt_hci_cmd_send_sync(BT_HCI_OP_IO_CAPABILITY_NEG_REPLY, resp_buf, NULL); in io_capa_neg_reply()
657 struct net_buf *resp_buf; in bt_hci_io_capa_req() local
683 resp_buf = bt_hci_cmd_create(BT_HCI_OP_IO_CAPABILITY_REPLY, in bt_hci_io_capa_req()
685 if (!resp_buf) { in bt_hci_io_capa_req()
725 cp = net_buf_add(resp_buf, sizeof(*cp)); in bt_hci_io_capa_req()
730 bt_hci_cmd_send_sync(BT_HCI_OP_IO_CAPABILITY_REPLY, resp_buf, NULL); in bt_hci_io_capa_req()
Dsdp.c585 struct net_buf *resp_buf; in sdp_svc_search_req() local
641 resp_buf = bt_sdp_create_pdu(); in sdp_svc_search_req()
642 rsp = net_buf_add(resp_buf, sizeof(*rsp)); in sdp_svc_search_req()
662 if ((MIN(SDP_MTU, sdp->chan.tx.mtu) - resp_buf->len) < in sdp_svc_search_req()
670 net_buf_add_u8(resp_buf, SDP_SS_CONT_STATE_SIZE); in sdp_svc_search_req()
671 net_buf_add_u8(resp_buf, cont_state); in sdp_svc_search_req()
685 net_buf_add_be32(resp_buf, record->handle); in sdp_svc_search_req()
691 net_buf_add_u8(resp_buf, 0); in sdp_svc_search_req()
693 net_buf_add_be16(resp_buf, total_recs); in sdp_svc_search_req()
699 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