Specifications

CUSTOMATCOMMANDS
HSPA+ATCommandsReferenceGuide 232
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
Remotehosthaschanged,youwanttosendareponse:
AT#SSENDUDP=1,<RemIP2>,<RemPort2>
>response to second host
OK
Notes
AfterSRINGthatindicatesincomingUDPdataandissuing#S RECV toreceivedataitself,through#SSispossible
tochecklastremotehost(IP/Port).
IfsuccessiveresumeofthesockettoonlinemodeIsperformed(#SO),connectionwithfirstremotehostis
restored.
SendUDP DatatoaSpecificRemoteHostExtended
Whilethemoduleisincommandmode,thisco mmandallowsthesendingofdataoverUDPtoaspecificremote
hostincludingallpossibleoctets(from0x00to0xFF).
Asindicatedabout#SSENDUDP:
UDPsockethastobepreviouslyopenedthrough#SLUDP/#SA,thenyoucansenddatatodifferentre
motehosts.