Smart SAM2W User Guide V1.2
AT$SETUDP
Use to setup parameters for UDP data socket. This command is for serial port entry only.
AT$SETUDP=?
$SETUDP: Port(1-65535),TimeOutTrigger(0-65535),Server(120)
OK
AT$SETUDP?
$SETUDP: <UDPPort>,<TimeOutTrigger>,<UDPServ>
OK
AT$SETUDP=<UDPPort>,<TimeOutTrigger>,<UDPServ>
<UDPPort> :
<TimeOutTrigger>: This defines a time interval of no data activity in the serial data stream that is
used as the trigger to packetize and transmit the collected data. The time is entered in milliseconds
and between 0 and 65535 but only affective in multiples of 20, default is 100ms.
<UDPServ> :
AT$SETUDP=20000,100,"255.255.255.255"
OK
AT$SETPING
Use to set up Ping parameters. The software usea Ping to maintain GPRS connection. This command is for
serial port entry only.
AT$SETPING=?
$SETPING: PingIP(120),Interval(5-1440)
OK
AT$SETPING?
$SETPING: <PINGRemote>,<PINGPeriod>
OK
AT$SETPING=<PINGRemote>,<PINGPeriod>
<PINGRemote> : PING IP address, in xxx.xxx.xxx.xxx format.
<PINGPeriod> : PING period in minute, from 5 –1440, default is 1441 (more than 24 hour so no
PING, the modem will be reset every 24 hour instead).
AT$SETPING= "192.168.80.40",60
OK
AT$TCPMODE
Set modem TCP mode. This command is for serial port entry only.
16
From 1 to 65535, is port number for both local UDP server and remote UDP server,
default is 20000.
IP address of the remote server, default is 255.255.255.255.
Ver1.2
Need help?
Do you have a question about the Smart SAM2W and is the answer not in the manual?