Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/host/classic/shell/
Drfcomm.c123 static struct bt_rfcomm_dlc rfcomm_dlc = { variable
132 if (rfcomm_dlc.session) { in rfcomm_accept()
137 *dlc = &rfcomm_dlc; in rfcomm_accept()
183 err = bt_rfcomm_dlc_connect(default_conn, &rfcomm_dlc, channel); in cmd_connect()
207 len = MIN(rfcomm_dlc.mtu, net_buf_tailroom(buf) - 1); in cmd_send()
210 ret = bt_rfcomm_dlc_send(&rfcomm_dlc, buf); in cmd_send()
225 err = bt_rfcomm_dlc_disconnect(&rfcomm_dlc); in cmd_disconnect()
/Zephyr-latest/subsys/bluetooth/host/classic/
Dhfp_hf.c133 err = bt_rfcomm_dlc_disconnect(&hf->rfcomm_dlc); in hf_slc_error()
166 LOG_DBG("HF %p, DLC %p sending buf %p", hf, &hf->rfcomm_dlc, buf); in hfp_hf_send_cmd()
168 ret = bt_rfcomm_dlc_send(&hf->rfcomm_dlc, buf); in hfp_hf_send_cmd()
686 struct bt_hfp_hf *hf = CONTAINER_OF(dlc, struct bt_hfp_hf, rfcomm_dlc); in hfp_hf_connected()
696 struct bt_hfp_hf *hf = CONTAINER_OF(dlc, struct bt_hfp_hf, rfcomm_dlc); in hfp_hf_disconnected()
707 struct bt_hfp_hf *hf = CONTAINER_OF(dlc, struct bt_hfp_hf, rfcomm_dlc); in hfp_hf_recv()
735 if (hf->rfcomm_dlc.session) { in bt_hfp_hf_accept()
743 hf->rfcomm_dlc.ops = &ops; in bt_hfp_hf_accept()
744 hf->rfcomm_dlc.mtu = BT_HFP_MAX_MTU; in bt_hfp_hf_accept()
746 *dlc = &hf->rfcomm_dlc; in bt_hfp_hf_accept()
[all …]
Dhfp_internal.h51 struct bt_rfcomm_dlc rfcomm_dlc; member
Dhfp_ag_internal.h70 struct bt_rfcomm_dlc rfcomm_dlc; member
Dhfp_ag.c204 int err = bt_rfcomm_dlc_disconnect(&ag->rfcomm_dlc); in bt_hfp_ag_set_call_state()
207 LOG_ERR("Fail to disconnect DLC %p", &ag->rfcomm_dlc); in bt_hfp_ag_set_call_state()
271 int err = bt_rfcomm_dlc_send(&ag->rfcomm_dlc, tx->buf); in hfp_ag_send()
1456 struct bt_hfp_ag *ag = CONTAINER_OF(dlc, struct bt_hfp_ag, rfcomm_dlc); in hfp_ag_connected()
1465 struct bt_hfp_ag *ag = CONTAINER_OF(dlc, struct bt_hfp_ag, rfcomm_dlc); in hfp_ag_disconnected()
1503 struct bt_hfp_ag *ag = CONTAINER_OF(dlc, struct bt_hfp_ag, rfcomm_dlc); in hfp_ag_recv()
1568 bt_rfcomm_dlc_disconnect(&ag->rfcomm_dlc); in bt_hfp_ag_thread()
1580 struct bt_hfp_ag *ag = CONTAINER_OF(dlc, struct bt_hfp_ag, rfcomm_dlc); in hfp_ag_sent()
1761 if (_ag->rfcomm_dlc.session) { in bt_hfp_ag_connect()
1771 _ag->rfcomm_dlc.ops = &ops; in bt_hfp_ag_connect()
[all …]