Skip to content

Commit

Permalink
L2CAP: Add option mode_optional to l2cap_connect
Browse files Browse the repository at this point in the history
Add option `L2CAP_CONNECT_OPT_MODE_OPTIONAL` to field `options` of
command `l2cap_connect`.

It is used to support mode is optional.

Signed-off-by: Lyle Zhu <[email protected]>
  • Loading branch information
lylezhu2012 committed Nov 29, 2024
1 parent d3a9470 commit 2c05ff1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autopts/pybtp/defs.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ def BIT(bit):
L2CAP_CONNECT_OPT_FC = 0x08
L2CAP_CONNECT_OPT_ERET = 0x10
L2CAP_CONNECT_OPT_STREAM = 0x20
L2CAP_CONNECT_OPT_MODE_OPTIONAL = 0x40
L2CAP_DISCONNECT = 0x03
L2CAP_SEND_DATA = 0x04
L2CAP_TRANSPORT_BREDR = 0x00
Expand Down

0 comments on commit 2c05ff1

Please sign in to comment.