Skip to the content.

SLMX4 Health Firmware – Protocol Buffer

Back

The defined protocol buffers specification includes a number of message types which are only used for testing and/or development purposes. This section will show some examples of what the binary data looks like for the Start/Stop commands, and the health message.

In the binary data representations below, the first four bytes indicate the length of the message.

The format is:
[len][data]

Health-specific Protobuf files

Start

The Start command uses opcode 3 with an empty payload type. This results in the bytes:

0x4 0x0 0x0 0x0 0x8 0x3 0x12 0x0

Stop

The Stop command uses opcode 4 also with an empty payload. This results in the bytes:

0x4 0x0 0x0 0x0 0x8 0x4 0x12 0x0

ACK

Both the Start and Stop commands will be acknowledged on reception by the device. An acknowledgement message has the opcode 0 and an acknowledgement type payload which reflects the original opcode being acknowledged. The ACK for a Start command is:

0x4 0x0 0x0 0x0 0x12 0x2 0x8 0x3

The ACK for a Stop command is:

0x4 0x0 0x0 0x0 0x12 0x2 0x8 0x4

Health

Once started the radar will begin streaming data in the form of two messages: a health message, and a respiration waveform. The first four bytes indicate the length, which is 0x56 or 86 bytes. Example health message:

0x56 0x0 0x0 0x0 0x8 0x11 0x52 0x52 0x8 0x1 0x10 0x1 0x18 0x1 0x20 0x1 0x2d 0x3e 0x9b 0x10 0x3f 0x35 0x0 0x0 0xc8 0x42 0x3d 0x0 0xe0 0xc4 0x41 0x45 0x0 0x0 0x84 0x42 0x4d 0x8c 0x3f 0x92 0x3f 0x55 0xcd 0xcc 0x6 0x42 0x5d 0x9a 0x99 0xed 0x41 0x65 0x89 0x8 0x65 0x42 0x6a 0x20 0x0 0x80 0xf5 0x43 0x0 0x0 0x0 0x0 0xb8 0x65 0x81 0x41 0x0 0x0 0x0 0x0 0x8c 0x3f 0x92 0x3f 0x0 0x0 0x0 0x0 0x59 0x5f 0x86 0x40 0xbd 0xa6 0xba 0x40

Respiration Waveform

The respiration waveform has the opcode 2 with a payload of vector type. This payload starts off with two integer values which both indicate the vector length. The vector data itself are encoded as single-precision float values.

Example respiration waveform:

0xbb 0x3 0x0 0x0 0x8 0x2 0x2a 0xb6 0x7 0x8 0xec 0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