mirror of
https://github.com/meshcore-dev/meshcore_py.git
synced 2026-04-20 22:13:49 +00:00
control codes support: node_discover_req
This commit is contained in:
parent
057051c8c3
commit
d3c9c8d984
5 changed files with 99 additions and 4 deletions
|
|
@ -7,6 +7,10 @@ class BinaryReqType(Enum):
|
|||
MMA = 0x04
|
||||
ACL = 0x05
|
||||
|
||||
class ControlType(Enum):
|
||||
NODE_DISCOVER_REQ = 0x80
|
||||
NODE_DISCOVER_RESP = 0x90
|
||||
|
||||
# Packet prefixes for the protocol
|
||||
class PacketType(Enum):
|
||||
OK = 0
|
||||
|
|
@ -35,6 +39,7 @@ class PacketType(Enum):
|
|||
FACTORY_RESET = 51
|
||||
PATH_DISCOVERY = 52
|
||||
SET_FLOOD_SCOPE = 54
|
||||
SEND_CONTROL_DATA = 55
|
||||
|
||||
# Push notifications
|
||||
ADVERTISEMENT = 0x80
|
||||
|
|
@ -51,3 +56,4 @@ class PacketType(Enum):
|
|||
TELEMETRY_RESPONSE = 0x8B
|
||||
BINARY_RESPONSE = 0x8C
|
||||
PATH_DISCOVERY_RESPONSE = 0x8D
|
||||
CONTROL_DATA = 0x8E
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue