Command timing
Once the
$
is received, all subsequent characters must occur within 250 milliseconds of the
previous character. If the inter-character delay exceeds 250 ms, the command will be silently
discarded, and the receiving state machine will consume and ignore any characters received
until the next
$
.
Command responses
An
OK
response confirms that the input parameters have been updated in response to a
command. An
ERR
response indicates that the command could not be parsed successfully, and
an error type details the problem. Note that additional or invalid characters included between the
two-character command designator and the
*
of the command can cause an error response.
ERR
responses have the following syntax:
$<cmd> ERR,<error_type>*xx
Value
Description
cmd
The two-character command designation
error_type
Type of error encountered during command processing
The follow error type messages will be provided:
Value
Description
CMD_BADPARAM
Unrecognizable parameter after command
CMD_BADPARAMLENGTH
A parameter has an incorrect length
CMD_BADPARAMVALUE
A parameter has a value that is out of range
CMD_INVALIDCHAR
A parameter has an invalid character
CMD_NOTIMPLEMENTED
The command is not recognized as valid
CMD_PARAMMISSING
A required parameter is missing
CMD_PARAMDUPLICATE
A parameter has been duplicated
© 2022 SWARM TECHNOLOGIES
SWARM M138 MODEM PRODUCT MANUAL · REV 1.20 · FEBRUARY 2022
PAGE
34