Class: TimexDatalinkClient::Protocol7::Start

Inherits:
Object
  • Object
show all
Includes:
Helpers::CrcPacketsWrapper
Defined in:
lib/timex_datalink_client/protocol_7/start.rb

Constant Summary collapse

CPACKET_START =
[0x20, 0x00, 0x00, 0x07]

Instance Method Summary collapse

Instance Method Details

#packetsArray<Array<Integer>>

Compile packets for data start command.

Returns:

  • (Array<Array<Integer>>)

    Two-dimensional array of integers that represent bytes.



15
16
17
# File 'lib/timex_datalink_client/protocol_7/start.rb', line 15

def packets
  [CPACKET_START]
end