$padsrc pad source port, $active tcp pad state, Padsrc pad source port – Horner APG XLt OCS HE-GSM04 User Manual

Page 55: Active tcp pad state

Advertising
background image

MAN4005-04-EN

GPRS / GSM MODEM Configuration

PAGE 55


18. $PADSRC PAD Source Port

$PADSRC

PAD Source Port

Command Function

This command allows the user to query/set the API PAD source port. Remote data
received from a valid destination address to this source port will be processed as
incoming PAD data. This port is also used as the source port for all data sent to the
PAD destination. This value must be different than the UDPAPI port.

Command Functional
Group

Enfora Specific

Command Format Query
Response

AT$PADSRC=?
$PADSRC: (0-65535)
OK

Write Format
Response

AT$PADSRC = <PAD source port>
OK

Read Format
Response

AT$PADSRC?
$PADSRC: <PAD source port>

Execution Format
Response

N/A
N/A

Parameter Values

<PAD source port >

PAD source port is used as the source port in all outgoing PAD data messages. The
remote host must use this port number as the destination port for PAD data sent to
the device.



19. $ACTIVE TCP PAD State

$ACTIVE

TCP PAD State

Command Function

This command determines the active or passive state of the TCP PAD connection.

Command Functional Group

Enfora Specific

Command Format Query
Response

AT$ACTIVE=?
$ACTIVE: (0-1)
OK

Write Format
Response

AT$ACTIVE =<state >
OK

Read Format
Response

AT$ACTIVE?
$ACTIVE: <state>

Execution Format
Response

N/A
N/A

Parameter Values

0

TCP PAD passive/server mode

<state>

1

TCP PAD active/client mode

Notes

If passive is chosen, the PAD will be in server mode and listen for inbound TCP
connection requests. If active is chosen, the PAD will be in client mode and will
initiate a connection based on the ATDT command, or if atd*99# is used to initiate
a GPRS connection, the values populated in AT$PADDST. A value of 0 indicates
passive, server mode of operation. A value of 1 indicates active, client mode of
operation. ATDT will be used to initiate the passive, server mode functionality. If
ATDTxxx.xxx.xxx.xxx/xxxx is used, it will override the passive mode and replace
the AT$PADDST parameters as it does in UDP PAD mode.

Page 55 of 62 ECN # 956

Advertising
This manual is related to the following products: