Skip to main content

UDP Command Reference

All commands are plain text sent to port 55152. Replies arrive on port 55153, at the IP address that sent the command. See the overview for the message format.

Reply notation: OK … and ERR … lines are status replies (a #id prefix is added when the command carried one). data means the command answers with its own data line(s) and no OK line.

State and information​

CommandReply
INFOOK INFO fw=… proto=… state=… …
GET_CONFIGOK GET_CONFIG fs=… lower=… upper=… …
GET_HEADSTAGEOK GET_HEADSTAGE state=… chip=… channels=…
GET_CHANNELSdata CHANNELS <n>
SET_CHANNELS <n>OK SET_CHANNELS limit=<n>
STATUSdata STATUS <RUN|STOP> …
GET_TIMEdata TIME <ms>
VERSIONdata version string
HELPdata command list
IDENTIFYdata HMCLS ip=<ip>
GET_IPdata IP <ip> src=<source>

Acquisition​

CommandReply
SETUP [DEFAULTS]OK SETUP fs=… lower=… … config_id=…
START / RUNOK START
STOP / PAUSEOK STOP
SPEED <value>OK SPEED … fs=<Hz>
LOWER <Hz>OK LOWER request=… applied=…
UPPER <Hz>OK UPPER request=… applied=…
DSP <Hz>|ON|OFFOK DSP …
SET_CHIP_MODE <HW|SIM>OK SET_CHIP_MODE mode=…
GET_CHIP_MODEdata CHIP_MODE <mode>
H ON / H OFFOK H ON / OK H OFF
GET_Hdata H enabled=… one_shot=…

Signal analysis​

CommandReply
RMS ON / RMS OFFOK RMS ON / OK RMS OFF
GET_RMS <ch>|ALLdata RMS …
SPIKE ON <k> …OK SPIKE ON k=… pol=… …
SPIKE OFFOK SPIKE OFF
SPIKE MASK …OK SPIKE MASK mask=0x…
GET_SPIKE <ch>|ALLdata SPIKE … / SPIKE_ALL …

Impedance​

CommandReply
ZCHECK <ch>data ZCHECK <ch> <value> kOhm
ZCHECK_SCANdata ZCHECK_SCAN_BEGIN … ZCHECK_SCAN_END
DEEP_ZCHECK <N> <M> [ch]data DEEP_ZCHECK_BEGIN … DEEP_ZCHECK_END

Destination, network and flags​

CommandReply
DEST <ip>|NONEOK DEST dest=…
GET_DESTOK GET_DEST dest=…
NET <ip> <cmd>OK NET ip=<ip>
FLAG SET <n>OK FLAG SET
FLAG PEEK <n>data FLAG <n> <0|1>
FLAG TAKE <n>data FLAG <n> <0|1>

I2C and indicators​

CommandReply
SCAN_I2Cdata I2C 0x… …
I2C WRITE <addr> <reg> <val…>OK I2C WRITE bytes=<n>
I2C READ <addr> <reg> <len>data I2C 0x… …
G_ON / G_OFFOK G_ON / OK G_OFF
R_ON / R_OFFOK R_ON / OK R_OFF
Y_ON / Y_OFFOK Y_ON / OK Y_OFF
MONITOR_ON / MONITOR_OFFOK MONITOR_ON / OK MONITOR_OFF

Events​

Lines starting with EVT are sent to the board's owner when something changes: see Events.