From b4d9e08b8fa602021a8259d2b6179424ba20b689 Mon Sep 17 00:00:00 2001 From: Lyle Zhu Date: Wed, 17 Jul 2024 17:59:56 +0800 Subject: [PATCH] L2CAP: Add option `ext_win_size` to l2cap_connect 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 --- autopts/pybtp/defs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/autopts/pybtp/defs.py b/autopts/pybtp/defs.py index 033276d00d..478419fc8e 100644 --- a/autopts/pybtp/defs.py +++ b/autopts/pybtp/defs.py @@ -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