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 Jan 17, 2025
1 parent 85e912e commit 9a5ed68
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 @@ -247,6 +247,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
BTP_L2CAP_CMD_DISCONNECT = 0x03
BTP_L2CAP_CMD_SEND_DATA = 0x04
L2CAP_TRANSPORT_BREDR = 0x00
Expand Down

0 comments on commit 9a5ed68

Please sign in to comment.