next up previous contents
Next: Customize output format (CO) Up: Serial Port Command Interface Previous: Load settings from flash   Contents

Get/Put Output format (OU)

Cricket v2 has a few pre-programmed output formats for backward-compatibility with Cricket v1 (this feature is probably not useful for most users). By using the OU command the output format can be set to be compatible with previous Cricket versions, as follows:

Parameters Description
0 No output at all
1 Cricket version 1 with decimal distances
2 Cricket version 1 with hexadecimal distances
3 Cricket version 2 output format (default)

The output format is for each parameter is as follows:

Output 1:

$Cricket2,ver=3.0,id=45,dist=17,duration=1435,time=1195

Output 2:

$Cricket2,ver=3.0,space=MIT-0,id=45,dist=11,duration=1435

Output 3:

VR=2.0,ID=1:5e:3c:3c:a:0:0:ba,SP=MIT-0,DB=14,DR=423,TM=1045,TS=207040

Note: The version number (VR) in output 1 and output 2 do not reflect the same version scheme as in the current version (output 3) of the software. They should only be used by legacy Cricket applications that were created for Cricket v1.


next up previous contents
Next: Customize output format (CO) Up: Serial Port Command Interface Previous: Load settings from flash   Contents
Michel Goraczko 2004-12-02