Definition at line 78 of file protocol.py.
| def tellopy._internal.protocol.Packet.__init__ |
( |
|
self, |
|
|
|
cmd, |
|
|
|
pkt_type = 0x68, |
|
|
|
payload = b'' |
|
) |
| |
| def tellopy._internal.protocol.Packet.add_byte |
( |
|
self, |
|
|
|
val |
|
) |
| |
| def tellopy._internal.protocol.Packet.add_int16 |
( |
|
self, |
|
|
|
val |
|
) |
| |
| def tellopy._internal.protocol.Packet.add_time |
( |
|
self, |
|
|
|
time = datetime.datetime.now() |
|
) |
| |
| def tellopy._internal.protocol.Packet.fixup |
( |
|
self, |
|
|
|
seq_num = 0 |
|
) |
| |
| def tellopy._internal.protocol.Packet.get_buffer |
( |
|
self | ) |
|
| def tellopy._internal.protocol.Packet.get_data |
( |
|
self | ) |
|
| def tellopy._internal.protocol.Packet.get_time |
( |
|
self, |
|
|
|
buf = None |
|
) |
| |
| tellopy._internal.protocol.Packet.buf |
The documentation for this class was generated from the following file: