
© 2009 Cypress Solutions PAD Operation (Revision 1.0)
4 Commands for PAD operation
2.1 Selecting the appropriate PAD settings
There are two main PAD modes: UDP PAD or TCP PAD.
UDP transport protocol is connectionless and does not guarantee data delivery. However, it is much
lighter than TCP in terms of data transmitted. It is considered suitable for the following applications:
When total data transfer must be kept to a minimum. Losing a packet is not critical, or the application
communication protocol itself provides for retransmissions.
TCP transport protocol is connection oriented and does guarantee data delivery. It will keep trying to
send a packet multiple times until its delivery is acknowledged. Because of these characteristics, it has
much more overhead compared to UDP. It is suitable for the following applications: When the total
amount of data transfer is not critical. Losing a packet is critical and the application communication
protocol itself does not perform retransmissions.
Both UDP PAD and TCP PAD can operate in either client or server mode. Client mode means that the
modem is required to establish a connection to a remote device in server mode (this may be through
another modem). Server mode means that the modem is continually listening on a port and will accept
connections from a remote server (this may be from another modem).
3 Commands for PAD operation
The default serial port baud rate is 115,200. If you need to change the serial port settings use the
following command:
cmd port n d p s f where n is the required serial port baud rate
p is the parity setting: N, E, or O
d is the number of data bits: 7 or 8
s is the number of stop bits: 1 or 2
f is the flow control setting:
0 (no flow control) OR
1 (software flow control) OR
2 (hardware flow control)
You will now need to adjust the terminal application to these new settings.
cmd mode n Use n = 2 if the host device connected to the modem’s serial port
will initiate the PAD connection using cmd pad. Use n = 4 if the
modem is required to initiate the PAD connection – after a power
cycle the modem will come up in PAD connected mode.
cmd padmode x x = 0 start up UDP PAD mode. The modem will revert to server
mode once the connection is closed. (default)
x= 1 start up TCP PAD mode. The modem will revert to server
mode once the connection is closed.
Comentários a estes Manuais