next up previous contents
Next: Error Codes Up: Serial Port Command Interface Previous: Connecting, Sending, and Receiving   Contents

Cricket Command Interface

All commands have the same general format, using one of two directives. GET (``G'') returns the values corresponding to the parameters specified in the command. PUT (``P'') sets the value of the specified parameter to the specified command argument.

The general command format is:

        <directive> <command> <parameters>

$\langle$directive$\rangle$ The character ``G'' or ``P'' for ``get'' or ``put''.
$<$command$>$ One of the commands from the ``command'' column in the table on the next page.
$<$parameters$>$ The argument(s) to the command.

In response to any command, the Cricket listener or beacon echoes the specified command followed by the result:


Michel Goraczko 2004-12-02