module MaxCube::Messages::UDP::Parser::MessageI

Identify message. It can be used in broadcast.

Constants

KEYS

Mandatory keys.

Private Instance Methods

parse_udp_i(_body) click to toggle source
# File lib/maxcube/messages/udp/type/i.rb, line 15
def parse_udp_i(_body)
  {
    unknown: read(1),
    rf_address: read(3, true),
    firmware_version: read(2, 'H*'),
  }
end