Sierra Wireless WISMO218 User Manual Page 60

  • Download
  • Add to my manuals
  • Print
  • Page
    / 79
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 59
WA_DEV_W228_UGD_002 Rev 003 Page 60 of 78
WISMO228 TCP/IP AT Commands
Manual
Using GSM Bearer
AT+WIPCFG=1
OK
//start IP stack
AT+WIPBR=1,5
OK
//open GSM bearer
AT+WIPBR=2,5,2,”Phone number”
OK
//set phone number for GSM bearer
AT+WIPBR=2,5,0,user name
OK
//set user name
AT+WIPBR=2,5,1,passwd
OK
//set password
AT+WIPBR=4,5,0
OK
//start GSM bearer
AT+WIPCREATE=3,1,80,5,8
OK
//create the server on port 80, idx = 1. The server is
//listening for connection request on port 80.Spawned
//sockets will be given the index 5, 6, 7 and 8. It will
//accept connection request until it has no more sockets
//left.
+WIPACCEPT: 1,5
//unsolicited: the server accepted a connection resulting
//TCP client on idx 5
AT+WIPDATA=2,5,1
CONNECT
//exchange data on socket idx 5
//read, write
+++
//switch to AT mode
OK
AT+WIPCLOSE=2,5
OK
//close the TCP client socket index 5
Page view 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 78 79

Comments to this Manuals

No comments