# Developer

Commands to be used only for software debugging. Avoid using them!

- test returns an error

- help Returns a list of possible commands.

- exitserver Shuts down all the detector servers. Don't use it!!!!

- exitreceiver Shuts down all the receivers. Don't use it!!!!

- flippeddatay [i] enables/disables data being flipped across y axis. 1 enables, 0 disables. Not implemented.

- moduleversion:[i] Gets the firmware version of module i. Used for MYTHEN only. Only get!

- detectornumber Gets the serial number or MAC of detector. Only get!

- modulenumber:[i] Gets the serial number of module i. Used for MYTHEN only. Only get!

- detectorversion Gets the firmware version of detector. Only get!

- softwareversion Gets the software version of detector server. Only get!

- thisversion Gets the software version of this client software. Only get!

- receiverversion Gets the software version of receiver. Only get!

- digitest [i] will perform test which will plot the unique channel identifier, instead of data. Only get!

- bustest performs test of the bus interface between FPGA and embedded Linux system. Can last up to a few minutes. Cannot set! Used for Mythen only. Only get!

- digibittest:[i] performs digital test of the module i. Returns 0 if succeeded, otherwise error mask. Only put!

- reg [addr] [val] ??? writes to an register `addr` with `value` in hexadecimal format.

- adcreg [addr] [val] ??? writes to an adc register `addr` with `value` in hexadecimal format. Only put!

- setbit ??? Only put!

- clearbit ??? Only put!

- getbit ??? Only get!

- r_compression [i] sets/gets compression in receiver. 1 sets, 0 unsets. Not implemented.