$udpapi modem api address - udp api commands, Pad commands – Horner APG XLt OCS HE-GSM04 User Manual
Page 54

PAGE 54
GPRS / GSM MODEM Configuration
MAN4005-04-EN
16. $UDPAPI Modem API Address - UDP API Commands
$UDPAPI
Modem API Address
Command Function
This command allows the user to query/set the API IP address and port number. Any
UDP packet received from a local host and addressed to the modem API IP and port
will be intercepted and processed as a modem API request. Any UDP packet
received from a remote server and addressed to the modem API port will be
intercepted and processed as a modem API request.
Command Functional Group
Enfora Specific
Command Format Query
Response
AT$UDPAPI=?
$UDPAPI: "(0-255).(0-255).(0-255).(0-
255)",(0-65535)
OK
Write Format
Response
AT$UDPAPI=”
OK
Read Format
Response
AT$UDPAPI?
$UDPAPI: "
Execution Format
Response
N/A
N/A
Parameter Values
IP address for local API access
Udp port number for local and remote API access
17. PAD Commands
$PADDST
PAD Destination IP/Port
Command Function
This command allows the user to query/set the PAD destination IP and port address.
Command Functional
Group
Enfora Specific
Command Format Query
Response
AT$PADDST=?
$PADDST: "(0-255),(0-255),(0-255),(0-255)",(0-65535)
OK
Write Format
Response
AT$PADDST =”<PAD destination
IP>”,<PAD destination port>
OK
Read Format
Response
AT$PADDST?
$PADDST: =”<PAD destination
IP>”,<PAD destination port>
Execution Format
Response
N/A
N/A
Parameter Values
Destination IP for PAD data. PAD data is sent to and received from this IP. A
destination IP address of 0 will allow PAD access from any IP destination, and will
cause all locally generated PAD data to be sent to the IP address associated with
the last remotely received PAD data.
Destination port for PAD data. PAD data is sent to and received from this port. A
destination port of 0 will allow PAD access from any port, and will cause all locally
generated PAD data to be sent to the port associated with the last remotely received
PAD data.
Notes
A value of 0 will allow any IP/port access to the TCP PAD. If populated and in
passive, server mode (AT$ACTIVE=0) the TCP PAD will limit access to the IP/port
defined.
Page 54 of 62 ECN # 956