Public Member Functions | |
def | __init__ |
Create A Horizon Message Payload - Platform Information. | |
def | print_format |
Human Readable Payload String. | |
Public Attributes | |
model | |
passcode | |
revision | |
serial |
Horizon Message Payload - Platform Information
Definition at line 541 of file payloads.py.
def clearpath.horizon.payloads.PlatformInfo.__init__ | ( | self, | |
passcode = 0 , |
|||
model = '' , |
|||
revision = 0 , |
|||
serial = 0 , |
|||
raw = None , |
|||
timestamp = 0 |
|||
) |
Create A Horizon Message Payload - Platform Information.
Constructor for the Horizon Message Payload - Platform Information Class.
The constructor can be called two different ways:
model | The Platform Model |
raw | Raw Payload data byte list to parse |
revision | The Platform Model Revision Number |
serial | The Platform Serial Number |
timestamp | Payload Send / Create Time (milliseconds) |
version | Horizon Protocol Version, (-1,*) represents the newest version, (0,0) auto-detect the version (if supported) |
LookupError | If auto-detect version fails |
ValueError | If values are out of range or if raw is invalid |
Create A Horizon Message Payload - Platform Information
Definition at line 567 of file payloads.py.
Human Readable Payload String.
Return the payload as a human readable string
Reimplemented from clearpath.horizon.payloads.Payload.
Definition at line 626 of file payloads.py.
Definition at line 567 of file payloads.py.
Definition at line 567 of file payloads.py.
Definition at line 567 of file payloads.py.
Definition at line 567 of file payloads.py.