Skip to main content

Commands

Commands are sent from the host to the device as ASCII text, delimited by angle brackets:

<BLAECK.COMMAND,Param0,Param1,Param2,Param3>

Parameters are comma-separated integers.

Built-in Commands

CommandParametersP0–P3DescriptionResponse
BLAECK.WRITE_SYMBOLSP0, P1, P2, P3, …Message IDRequest signal schemaSignals
BLAECK.GET_DEVICESP0, P1, P2, P3, …Message IDRequest device identityDevice frames
BLAECK.WRITE_DATAP0, P1, P2, P3, …Message IDRequest single data frameData frame
BLAECK.ACTIVATEP0, P1, P2, P3, …Interval (ms)Start timed data streamingData frame (in intervals)
BLAECK.DEACTIVATEn/aStop timed data streamingn/a

Bold parameters encode a uint32 in little-endian byte order as four comma-separated bytes.

The BLAECK. prefix is reserved for built-in commands.

Response with Message ID

WRITE_SYMBOLS, GET_DEVICES and WRITE:DATA: P1-P4 sends the Message ID to the device, and the response echoes it back to the sender. For example, requesting signal schema with Message ID 1:

Command:  <BLAECK.WRITE_SYMBOLS,1,0,0,0>
Response: <BLAECK: B0 : 01 00 00 00 : …………… /BLAECK>\r\n
Key Message ID Frame

See Frames for all frame types.