
© 2009 Cypress Solutions PAD Operation (Revision 1.0)
13 Example Modem PAD Configuration
Enter the following commands from the serial console of the modem connected to the serial master
device:
cmd factory
cmd mode 2
cmd port 19200 8 n 1 2
It will now be necessary to adjust the baud rate of the terminal application to 19200.
cmd padmode 2/3 PAD client, single-session mode: 2 = UDP, 3 = TCP
cmd padecho 1 Echo data sent by the master device back on the serial port
(default setting, in effect after cmd factory)
cmd padfwdc 0 No forwarding character
cmd padfwdl 101 Greater than longest message size
cmd padfwdt 100 Sets the forwarding time to 5 seconds idle period
cmd padsvct 10 0 Set connection timeout to 10 seconds, maximum connection timer disabled
cmd save Save configuration to modem’s non-volatile memory
cmd pwrmode 2 Power cycle
In command mode, for each request to a specific slave device, the master device should send the
following commands:
cmd padip 100.100.1.1 Sent by master device to set new PAD slave to which to connect
cmd pad Sent by master device to start new PAD connection
Upon executing cmd pad, the modem will connect to the PAD slave with IP address 100.100.1.1 as
specified in cmd padip, transmit a request, and disconnect if the connection idle time is 10 s, or if the
escape sequence is entered on the serial port (default is +++). Once disconnected, the modem will drop
into command mode. Repeat cmd padip and cmd pad for other slave devices using IP addresses
100.100.1.2-100.100.1.10.
Kommentare zu diesen Handbüchern