Socket-transport cmd space (off_14 ids) from live capture: 1101/1307/1705/1707 + host_probe3
This commit is contained in:
1 parent
2cdc274fe3
commit
213a0518d6
7 files changed
+401
-60
No files matched your search
@@ -4,7 +4,13 @@ Everything here is hardware-independent and covered by unit tests. See
|
||||
``docs/RE_DART_FINDINGS.md`` for the reverse-engineering evidence.
|
||||
"""
|
||||
|
||||
from .commands import CommunicationCmd, CommunicationMode, CommunicationOperate
|
||||
from .commands import (
|
||||
CommunicationCmd,
|
||||
CommunicationMode,
|
||||
CommunicationOperate,
|
||||
SOCKET_CMD_TYPE,
|
||||
socket_cmd_type,
|
||||
)
|
||||
from .crc import (
|
||||
CRC16_INIT,
|
||||
CRC16_POLY,
|
||||
@@ -35,8 +41,12 @@ from .envelope import (
|
||||
direct_connect_request,
|
||||
)
|
||||
from .framing import (
|
||||
BLE_HEADER_LEN,
|
||||
MAGIC_ACK,
|
||||
MAGIC_DATA,
|
||||
MAGIC_MTU,
|
||||
ble_frame_sn,
|
||||
ble_frame_total_len,
|
||||
build_ble_ack_frame,
|
||||
build_ble_data_frame,
|
||||
chunk_for_mtu,
|
||||
@@ -54,6 +64,8 @@ __all__ = [
|
||||
"CommunicationCmd",
|
||||
"CommunicationMode",
|
||||
"CommunicationOperate",
|
||||
"SOCKET_CMD_TYPE",
|
||||
"socket_cmd_type",
|
||||
"CRC16_INIT",
|
||||
"CRC16_POLY",
|
||||
"crc16_modbus",
|
||||
|
||||
Reference in new issue
Block a user