Contains constant values used by the protocol.

adbwp.consts.VERSION = 16777216

Protocol version.

adbwp.consts.MAXDATA = 262144

Maximum message body size.

adbwp.consts.CONNECT_AUTH_MAXDATA = 4096

Older ADB version max data size limit; required max for CONNECT and AUTH messages.

adbwp.consts.MESSAGE_SIZE = 24

Size of a serialized ADB message in bytes.

adbwp.consts.COMMAND_MASK = 4294967295

Bitmask applied to the “magic” value of ADB messages.