Zeroconf implementation OGC Standards | OGC
Copyright © 2012 Open Geospatial Consortium.
11
8 PUCK commands
PUCK defines a simple command-response protocol. PUCK commands are interpreted by an RS232 instrument in PUCK mode, or by an IP instrument when received on the
PUCK port. PUCK commands are expressed as ASCII strings, beginning with “PUCK” and are terminated by a CR. All PUCK commands are case-sensitive, and are in
uppercase. When a command is issued the device will attempt to execute that command. Upon successful execution the PUCK-enabled device will return the characters:
PUCKRDYCR
This indicates that the PUCK-enabled instrument is ready for the next command. The string “PUCKCR” is also a valid command the “null command” that results in a
PUCKRDY response. If the PUCK-enabled instrument is unable to execute a command beginning with the characters “PUCK” successfully it will issue the characters
ERR CR PUCKRDYCR
Where the ‘’ is a four digit base ten error code in the range [1,9999]. PUCK error codes are defined in Table 6. If the command is a request for information then the
command will return the information requested followed by the characters
PUCKRDYCR
The PUCK-enabled instrument will terminate any transaction initiated by a PUCK command with the characters
PUCKRDYCR
at which point it is ready for another command to be issued.