Sierra Wireless WISMO218 User Manual Page 73

  • Download
  • Add to my manuals
  • Print
  • Page
    / 79
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 72
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+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 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.
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 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.
+CME ERROR: 838
//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.
Page view 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 79

Comments to this Manuals

No comments