Sha256: 01c37f95d887381dd757131db4e222211f44a1fbfc93ff2b235d6bab8cb5ab52
Contents?: true
Size: 652 Bytes
Versions: 2
Compression:
Stored size: 652 Bytes
Contents
module MaxCube module Messages module TCP class Parser module MessageA private # Acknowledgement message to previous command # e.g. factory reset (a), delete a device (t), wake up (z) # Ignore all contents of the message def parse_tcp_a(_body) {} end end end class Serializer module MessageA private # Factory reset command # Does not contain any data # Acknowledgement (A) follows def serialize_tcp_a(_hash) '' end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
maxcube-client-0.4.1 | lib/maxcube/messages/tcp/type/a.rb |
maxcube-client-0.4.0 | lib/maxcube/messages/tcp/type/a.rb |