Description

The TimestampUnixGet command is used to retrieve Neblina's Unix Timestamp. Neblina's Unix Timestamp can be set using TimestampUnixSet command.

Protocol

This command uses the Command-Ack-Response protocol.

Command

Byte Name C Type Value
0 Control Byte ( Packet Type (7:5) / SubSystem (4:0) ) uint8_t 0x40 ( 0b010 / 0b00000 )
1 Payload Length uint8_t 0
2 CRC uint8_t Calculated
3 Command uint8_t 0x12

Payload

This command contains no payload.

Response

Header

Byte Name C Type Value
0 Control Byte ( Packet Type (7:5) / SubSystem (4:0) ) uint8_t 0x00 ( 0b000 / 0b00000 )
1 Payload Length uint8_t 4
2 CRC uint8_t Calculated
3 Command uint8_t 0x12

Payload

Byte Name C Type Value
4 - 7 Timestamp uint32_t Varies