/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | l2cap_br.c | 426 static void l2cap_br_get_info(struct bt_l2cap_br *l2cap, uint16_t info_type) in l2cap_br_get_info() argument 434 if (atomic_test_bit(l2cap->chan.flags, L2CAP_FLAG_SIG_INFO_PENDING)) { in l2cap_br_get_info() 449 atomic_set_bit(l2cap->chan.flags, L2CAP_FLAG_SIG_INFO_PENDING); in l2cap_br_get_info() 450 l2cap->info_ident = l2cap_br_get_ident(); in l2cap_br_get_info() 454 hdr->ident = l2cap->info_ident; in l2cap_br_get_info() 460 l2cap_br_chan_send_req(&l2cap->chan, buf, L2CAP_BR_INFO_TIMEOUT); in l2cap_br_get_info() 474 static void connect_optional_fixed_channels(struct bt_l2cap_br *l2cap) in connect_optional_fixed_channels() argument 477 if (l2cap->info_fixed_chan & BIT(BT_L2CAP_CID_BR_SMP)) { in connect_optional_fixed_channels() 480 chan = bt_l2cap_br_lookup_rx_cid(l2cap->chan.chan.conn, in connect_optional_fixed_channels() 488 static int l2cap_br_info_rsp(struct bt_l2cap_br *l2cap, uint8_t ident, in l2cap_br_info_rsp() argument [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/einprogress/test_scripts/ |
D | run.sh | 20 -testid=l2cap/einprogress/dut 22 -testid=l2cap/einprogress/tester
|
/Zephyr-latest/doc/connectivity/bluetooth/shell/host/ |
D | l2cap.rst | 4 The :code:`l2cap` command exposes parts of the L2CAP API. The following example shows how to 13 uart:~$ l2cap register 29 20 uart:~$ l2cap connect 29 25 uart:~$ l2cap send 3 14
|
/Zephyr-latest/subsys/bluetooth/services/ots/ |
D | ots_oacp.c | 39 ots = CONTAINER_OF(l2cap_ctx, struct bt_ots, l2cap); in oacp_l2cap_closed() 232 if (!bt_gatt_ots_l2cap_is_open(&ots->l2cap, conn)) { in oacp_read_proc_validate() 289 if (!bt_gatt_ots_l2cap_is_open(&ots->l2cap, conn)) { in oacp_write_proc_validate() 310 ots->l2cap.rx_done = oacp_write_proc_cb; in oacp_write_proc_validate() 311 ots->l2cap.closed = oacp_l2cap_closed; in oacp_write_proc_validate() 457 ots = CONTAINER_OF(l2cap_ctx, struct bt_ots, l2cap); in oacp_read_proc_cb() 502 bt_gatt_ots_l2cap_disconnect(&ots->l2cap); in oacp_read_proc_cb() 508 ots->l2cap.tx_done = oacp_read_proc_cb; in oacp_read_proc_cb() 509 ots->l2cap.closed = oacp_l2cap_closed; in oacp_read_proc_cb() 510 err = bt_gatt_ots_l2cap_send(&ots->l2cap, obj_chunk, len); in oacp_read_proc_cb() [all …]
|
D | ots_client.c | 1205 struct bt_gatt_ots_l2cap *l2cap; in oacp_read() local 1220 err = bt_gatt_ots_l2cap_connect(conn, &l2cap); in oacp_read() 1226 l2cap->tx_done = tx_done; in oacp_read() 1227 l2cap->rx_done = rx_done; in oacp_read() 1228 l2cap->closed = chan_closed; in oacp_read() 1265 struct bt_gatt_ots_l2cap *l2cap; in oacp_write() local 1276 err = bt_gatt_ots_l2cap_connect(conn, &l2cap); in oacp_write() 1282 l2cap->tx_done = write_obj_tx_done; in oacp_write() 1283 l2cap->rx_done = rx_done; in oacp_write() 1284 l2cap->closed = chan_closed; in oacp_write() [all …]
|
D | ots_internal.h | 135 struct bt_gatt_ots_l2cap l2cap; member
|
D | ots.c | 507 err = bt_gatt_ots_l2cap_register(&ots->l2cap); in bt_ots_init() 514 bt_gatt_ots_l2cap_unregister(&ots->l2cap); in bt_ots_init()
|
/Zephyr-latest/subsys/bluetooth/host/shell/ |
D | CMakeLists.txt | 9 zephyr_library_sources_ifdef(CONFIG_BT_L2CAP_DYNAMIC_CHANNEL l2cap.c)
|
D | l2cap.c | 566 SHELL_CMD_ARG_REGISTER(l2cap, &l2cap_cmds, "Bluetooth L2CAP shell commands",
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | l2cap.c | 1037 static void le_conn_param_rsp(struct bt_l2cap *l2cap, struct net_buf *buf) in le_conn_param_rsp() argument 1049 static void le_conn_param_update_req(struct bt_l2cap *l2cap, uint8_t ident, in le_conn_param_update_req() argument 1052 struct bt_conn *conn = l2cap->chan.chan.conn; in le_conn_param_update_req() 1438 static void le_conn_req(struct bt_l2cap *l2cap, uint8_t ident, in le_conn_req() argument 1441 struct bt_conn *conn = l2cap->chan.chan.conn; in le_conn_req() 1520 static void le_ecred_conn_req(struct bt_l2cap *l2cap, uint8_t ident, in le_ecred_conn_req() argument 1523 struct bt_conn *conn = l2cap->chan.chan.conn; in le_ecred_conn_req() 1648 static void le_ecred_reconf_req(struct bt_l2cap *l2cap, uint8_t ident, in le_ecred_reconf_req() argument 1651 struct bt_conn *conn = l2cap->chan.chan.conn; in le_ecred_reconf_req() 1743 static void le_ecred_reconf_rsp(struct bt_l2cap *l2cap, uint8_t ident, in le_ecred_reconf_rsp() argument [all …]
|
D | CMakeLists.txt | 48 l2cap.c
|
D | Kconfig | 754 rsource "Kconfig.l2cap"
|
/Zephyr-latest/doc/connectivity/bluetooth/api/ |
D | index.rst | 55 l2cap.rst
|
/Zephyr-latest/tests/bsim/bluetooth/ |
D | tests.nrf5340bsim_nrf5340_cpunet.txt | 11 tests/bsim/bluetooth/host/l2cap/send_on_connect
|
/Zephyr-latest/doc/connectivity/bluetooth/ |
D | bluetooth-shell.rst | 28 shell/host/l2cap.rst
|
/Zephyr-latest/subsys/bluetooth/host/classic/shell/ |
D | bredr.c | 559 SHELL_CMD_ARG(l2cap-register, NULL, "<psm>", cmd_l2cap_register, 2, 0),
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.0.rst | 869 * :github:`42862` - Bluetooth: L2CAP: Security check on l2cap request is wrong 1209 …`39851` - [Coverity CID: 240242] Dereference after null check in tests/bluetooth/tester/src/l2cap.c 1230 * :github:`39807` - [Coverity CID: 240699] Out-of-bounds access in tests/bluetooth/tester/src/l2cap…
|
D | release-notes-2.2.rst | 1078 * :github:`20640` - Bluetooth: l2cap do not recover when faced with long packets and run out of bu…
|
D | release-notes-4.0.rst | 213 * Added support for Multi-Command Packet (l2cap)
|
D | release-notes-3.3.rst | 3266 * :github:`52171` - Bluetooth: BR/EDR: Inappropriate l2cap channel state set/get 3420 * :github:`51174` - Bluetooth: l2cap needs check rx.mps when le_recv
|
D | release-notes-2.5.rst | 1370 * :github:`29995` - Bluetooth: l2cap: L2CAP/LE/REJ/BI-02-C test failure
|
D | release-notes-2.7.rst | 1580 * :github:`36665` - l2cap cids mixed up in request
|