| /Zephyr-latest/subsys/bluetooth/host/classic/ |
| D | l2cap_br.c | 439 static void l2cap_br_get_info(struct bt_l2cap_br *l2cap, uint16_t info_type) in l2cap_br_get_info() argument 447 if (atomic_test_bit(l2cap->chan.flags, L2CAP_FLAG_SIG_INFO_PENDING)) { in l2cap_br_get_info() 462 atomic_set_bit(l2cap->chan.flags, L2CAP_FLAG_SIG_INFO_PENDING); in l2cap_br_get_info() 463 l2cap->info_ident = l2cap_br_get_ident(); in l2cap_br_get_info() 467 hdr->ident = l2cap->info_ident; in l2cap_br_get_info() 473 l2cap_br_chan_send_req(&l2cap->chan, buf, L2CAP_BR_INFO_TIMEOUT); in l2cap_br_get_info() 487 static void connect_optional_fixed_channels(struct bt_l2cap_br *l2cap) in connect_optional_fixed_channels() argument 490 if (l2cap->info_fixed_chan & BIT(BT_L2CAP_CID_BR_SMP)) { in connect_optional_fixed_channels() 493 chan = bt_l2cap_br_lookup_rx_cid(l2cap->chan.chan.conn, in connect_optional_fixed_channels() 501 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 | 6 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 | 1042 static void le_conn_param_rsp(struct bt_l2cap *l2cap, struct net_buf *buf) in le_conn_param_rsp() argument 1054 static void le_conn_param_update_req(struct bt_l2cap *l2cap, uint8_t ident, in le_conn_param_update_req() argument 1057 struct bt_conn *conn = l2cap->chan.chan.conn; in le_conn_param_update_req() 1443 static void le_conn_req(struct bt_l2cap *l2cap, uint8_t ident, in le_conn_req() argument 1446 struct bt_conn *conn = l2cap->chan.chan.conn; in le_conn_req() 1525 static void le_ecred_conn_req(struct bt_l2cap *l2cap, uint8_t ident, in le_ecred_conn_req() argument 1528 struct bt_conn *conn = l2cap->chan.chan.conn; in le_ecred_conn_req() 1653 static void le_ecred_reconf_req(struct bt_l2cap *l2cap, uint8_t ident, in le_ecred_reconf_req() argument 1656 struct bt_conn *conn = l2cap->chan.chan.conn; in le_ecred_reconf_req() 1748 static void le_ecred_reconf_rsp(struct bt_l2cap *l2cap, uint8_t ident, in le_ecred_reconf_rsp() argument [all …]
|
| D | CMakeLists.txt | 47 l2cap.c
|
| D | Kconfig | 758 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 | 29 shell/host/l2cap.rst
|
| /Zephyr-latest/subsys/bluetooth/host/classic/shell/ |
| D | bredr.c | 550 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 | 211 * 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
|