WA_DEV_W228_UGD_002 Rev 003 Page 73 of 78
WISMO228 TCP/IP AT Commands
Manual
Trying to Create 8 UDP Sockets, 8 TCP Client
Sockets and 4 TCP Server Sockets
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,55,”192.168.0.1”,75
//create a UDP client towards peer IP device @
//“192.168.0.1”, port 75.
//all parameters and IP stack behavior are OK.
//unsolicited: the UDP client socket is “pseudo
//”connected to the peer (no real connection in // UDP)
AT+WIPCREATE=1,2,56,”192.168.0.1”,76
//create a UDP client towards peer IP device @
//“192.168.0.1”, port 76.
//all parameters and IP stack behavior are OK.
//unsolicited: the UDP client socket is “pseudo
//”connected to the peer (no real connection in // UDP)
AT+WIPCREATE=1,3,57,”192.168.0.1”,77
//create a UDP client towards peer IP device @
//“192.168.0.1”, port 77.
//all parameters and IP stack behavior are OK.
//unsolicited: the UDP client socket is “pseudo
//”connected to the peer (no real connection in // UDP)
AT+WIPCREATE=1,4,58,”192.168.0.1”,78
//create a UDP client towards peer IP device @
//“192.168.0.1”, port 78.
//maximum 3 sockets can be created as the
//MAX_SOCK_NUM value has been changed to 3.
//Hence an attempt to create a fourth socket returns
//error.
Comments to this Manuals