Sierra Wireless WISMO218 User Manual Page 70

  • Download
  • Add to my manuals
  • Print
  • Page
    / 79
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 69
WA_DEV_W228_UGD_002 Rev 003 Page 70 of 78
WISMO228 TCP/IP AT Commands
Manual
Creating 8 UDP Sockets, 8 TCP Clients and 4 TCP
Servers
AT+WIPCFG=1
OK
//start IP stack
AT+WIPBR=1,6
OK
//open GPRS bearer
AT+WIPBR=2,6,11,APN name
OK
//set APN name of GPRS bearer
AT+WIPBR=2,6,0,user name
OK
//set user name
AT+WIPBR=2,6,1,passwd
OK
//set password
AT+WIPBR=4,6,0
OK
//start GPRS bearer
AT+WIPCREATE=1,1,55,”192.168.0.1”,75
//create a UDP client towards peer IP device @
//“192.168.0.1”, port 75.
OK
//all parameters and IP stack behavior are OK.
+WIPREADY: 1,1
//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.
OK
//all parameters and IP stack behavior are OK.
+WIPREADY: 1,2
//unsolicited: the UDP client socket is “pseudo
//”connected to the peer (no real connection is 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.
OK
//all parameters and IP stack behavior are OK.
+WIPREADY: 1,3
//unsolicited: the UDP client socket is “pseudo
//”connected to the peer (no real connection is 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.
OK
//all parameters and IP stack behavior are OK
Page view 69
1 2 ... 65 66 67 68 69 70 71 72 73 74 75 ... 78 79

Comments to this Manuals

No comments