Sierra Wireless WISMO218 User Manual Page 69

  • Download
  • Add to my manuals
  • Print
  • Page
    / 79
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 68
WA_DEV_W228_UGD_002 Rev 003 Page 69 of 78
WISMO228 TCP/IP AT Commands
Manual
Failed Creation of a TCP Client and Failed Creation
of a TCP Server with Index Range Containing a
TCP Client
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=2,1,”198.168.0.1”,80
//create a TCP client towards peer IP device @
//“198.168.0.1”, port 80
OK
//all parameters and IP stack behavior are OK.
+WIPREADY: 2,1
//unsolicited: the TCP client socket is connected to the
//peer.
AT+WIPCREATE=3,2,80,1,2
+CME ERROR: 845
//create the server on port 80, idx=2. Range
//requested contains the already used index “1 and
//hence error is returned.
Page view 68
1 2 ... 64 65 66 67 68 69 70 71 72 73 74 ... 78 79

Comments to this Manuals

No comments