diff options
Diffstat (limited to 'tasd/packets/extra.py')
| -rw-r--r-- | tasd/packets/extra.py | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/tasd/packets/extra.py b/tasd/packets/extra.py new file mode 100644 index 0000000..41ad604 --- /dev/null +++ b/tasd/packets/extra.py @@ -0,0 +1,38 @@ +from tasd.packet import _TASDPacketFactory as _TASD_PF, _VariableType as _VType, _VariableDefinition as _VDef, _EnumDefinition as _EDef +from tasd.constants import PacketType + +''' + 4.3.6.1. COMMENT Packet +''' + +Comment = _TASD_PF( + "Comment", + PacketType.COMMENT, + [ + _VDef("comment", _VType.STRING_EOP, "") + ] +) + +''' + 4.3.6.2. EXPERIMENTAL Packet +''' + +Experimental = _TASD_PF( + "Experimental", + PacketType.EXPERIMENTAL, + [ + _VDef("experimental", _VType.BOOL, False) + ] +) + +''' + 4.3.6.3. UNSPECIFIED Packet +''' + +Unspecified = _TASD_PF( + "Unspecified", + PacketType.UNSPECIFIED, + [ + _VDef("data", _VType.BYTES_EOP, b"") + ] +)
\ No newline at end of file |
