Starts listening on <LocPort> (previous setting of firewall through #FRWL has to be
done)
AT#SLUDP=1,1,<LocPort>
OK
SRING: 1 UDP data from a remote host available
AT#SA=1,1
OK
SRING: 1
AT#SI=1
#SI: 1,0,0,23,0 23 bytes to read
OK
AT#SRECV=1,23
#SRECV:1,23
message from first host
OK
AT#SS=1
#SS: 1,2,<LocIP>,<LocPort>,<RemIP1>,<RemPort1>
OK
AT#SSENDUDP=1,<RemIP1>,<RemPort1>
>response to first host
OK
SRING: 1 UDP data from a remote host available
AT#SI=1
#SI: 1,22,23,24,0 24 bytes to read
OK
AT#SRECV=1,24
#SRECV:1,24
message from second host
OK
AT#SS=1
#SS: 1,2,<LocIP>,<LocPort>,<RemIP2>,<RemPort2>
OK
Remote host has changed, we want to send a response:
AT#SSENDUDP=1,<RemIP2>,<RemPort2>
>response to second host
OK