WA_DEV_W228_UGD_002 Rev 003 Page 63 of 78
WISMO228 TCP/IP AT Commands
Manual
UDP Socket
AT+WIPBR=2,6,11,”APN name”
OK
//set APN name of GPRS bearer
AT+WIPBR=2,6,0,”user name”
OK
AT+WIPBR=2,6,1,”passwd”
OK
AT+WIPCREATE=1,1,80,”www.wavecom.com”
,80
//create a UDP client towards peer IP device @
//“www.wavecom.com” , port 80
//all parameters and IP stack behavior are OK
//unsolicited: the UDP client socket is “pseudo” connected
//to the peer (no //real connection is //UDP)
//exchange data on socket idx 1:
//close the UDP socket index 1
//start a UDP server and listen for datagram on port 1234
//all parameters and IP stack //behavior are OK
//unsolicited: the UDP client socket is “pseudo” connected
//to the peer (no real connection is UDP)
Comments to this Manuals