Command Format - Imperx LYNX User Manual

High-resolution, fast, field pgradeable, programmable, 8/10/12 bit digital cameras
Hide thumbs Also See for LYNX:
Table of Contents

Advertisement

3.3 Command Format

Command strings consist of a command token followed by up to two parameters.
The format of the command string is:
<command> <parm1> <parm2><cr>
In response to the receipt of a command string, the camera will perform the
intended operation and return a response string. Depending on the type of command
received, the camera will return either a 'status' response or an 'info' response. A
'status' response generally reports the success or failure of the camera to perform
the commanded operation. An 'info' response provides specific camera information
requested by user.
The format of the status response string is:
OK<cr><lf>:
Error: <text><cr><lf>:
The format of the info response string is:
<response><cr><lf>:
Important Note: The following applies to software versions 1.57 and lower.
Escape markers were removed from software version 1.58 and higher.
All camera responses are enclosed within a pair an Escape Markers. An Escape Marker
consists of a 6 character string as follows:
<ESC>[<CODE1><CODE2><CODE3><CODE4>
Byte1 = 1B hex ( ESC character )
Byte2 = 5B hex ( [ character )
Byte3-6 = marker codes
For example, in response to a 'gag 1' command the camera will return ( in hex ):
67 61 67 20 31 20 0D 0A
gag 1 ( if echo is on )
Escape Markers are used during camera download and should be ignored otherwise.
Terminal emulator programs ( i.e. HyperTerminal ) are designed to ignore Escape
Markers.
1B 5B A1 00 00 00
0D 0A 31 34 2E 39 37 64 42 0D 0A
Escape Marker
120 of 216
LYNX Hardware User's Manual
if the command was processed properly.
if the command was not processed due to an
error, where <text> is an explanation of the
error.
see the following sections for details of the
<response> string.
1B 5B A2 00 00 00
14.97 dB
Escape Marker
0D 0A 3A 20
:

Advertisement

Table of Contents
loading

Table of Contents