Skip to content

Commit

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

It is used to support extend window size configuration.

Signed-off-by: Lyle Zhu <[email protected]>
  • Loading branch information
lylezhu2012 committed Nov 29, 2024
1 parent 2c05ff1 commit b4d9e08
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 @@ -246,6 +246,7 @@ def BIT(bit):
L2CAP_CONNECT_OPT_ERET = 0x10
L2CAP_CONNECT_OPT_STREAM = 0x20
L2CAP_CONNECT_OPT_MODE_OPTIONAL = 0x40
L2CAP_CONNECT_OPT_EXT_WIN_SIZE = 0x80
L2CAP_DISCONNECT = 0x03
L2CAP_SEND_DATA = 0x04
L2CAP_TRANSPORT_BREDR = 0x00
Expand Down

0 comments on commit b4d9e08

Please sign in to comment.