Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleCommand packet
Bytes              Name
-----              ----
4                  opcode
n                  arguments

opcode: a unic unique number associated to the specific service.
arguments: any data (string or binary stream) needed for the execution of the command (e.g. element name, set value, etc...) The arguments size can be calculated from the packet length as: arguments size = (packet length) - 4

...