Specifications

Command/Response Formats 93
Commands
Example: To send all parameters for user modem.
$PASHS,MDM,ON,B,4,6,CFG,ATS111=255S45=255S51=252S58=250
=1&D2&C1X12E0Q0&W\r\n,MOD,AT&F1\r\n,NAM,US-ROBOTICS,
D2C,+++AT, C2D,ATO\r\n <enter>
To send only mode and data to command escape string and default baud
rates.
$PASHS,MDM,ON,B,4,MOD,AT&F1\r\n,D2C,+++AT <enter>
$PASHQ,MDM,c
Query current modem parameter settings, where c is the output port and is not
required to direct the response message to the current communication port.
Example: Query modem setting to the current port.
$PASHQ,MDM <enter>
$PASHR,MDM
The return message is in the form:
$PASHR,MDM,c1,d2,s3,d4,s5,s6,s7,s8*cc <enter>
Where Table 6.21 on page 93 outlines the response format.
Table 6.21: MDM Message Structure
Return
Parameters
Description Range
c1 Receiver port assigned for modem connection ‘A’ - ‘D’
d2 Baud Rate Code 3 - 8
s3 Modem Status ‘ON’/’OFF’/’INITOK’/
’SYNC’/’ESCAPE’
d4 Modem type index 0-4
s5 User defined initialization string
s6 User defined modem configuration mode
s7 User defined data to command escape string
s8 User defined command to data string
*cc Byte wise XOR checksum begin with ‘P’ 2 byte in hex