Table of Contents

Command Parser

The Command Parser is fairly simple, only the expected parameters are validated, anything else will be ignored. For example the following two commands will perform the same.

. al –v off   
.al this text is ignored –v off so is this  

This is quite a useful feature as it can be used to identify the source of a command. As an example, there may be a need to distinguish between a command issued over the USB interface and one issued from a trigger press. To achieve this, the commands sent via the USB interface could have “USB” inserted into the commands and then the .CS response can be used to separate the responses. e.g.

Command from USB:

.iv USB 

Response to command from USB:

CS: .iv USB 
EP: 310833B2DDD906C000001234
EP: 341486E37C00000000004255
EP: 341486E37C00000000004254
OK:

Response to .iv command issued from a switch press:

CS: .iv
EP: 310833B2DDD906C000001234
EP: 341486E37C00000000004255
EP: 341486E37C00000000004254
OK:

If individual commands need to be identified a sequential numeric identifier could be used.