Sierra Wireless WISMO218 User Manual Page 62

  • Download
  • Add to my manuals
  • Print
  • Page
    / 79
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 61
WA_DEV_W228_UGD_002 Rev 003 Page 62 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=2,1,”ip addr”,80
//create a TCP client towards peer IP device @ “ip addr”,
//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+WIPDATA=2,1,1
CONNECT
//exchange data on socket idx 1
//read, write
+++
//switch to AT mode
OK
AT+WIPCLOSE=2,1
OK
//close the TCP client socket index 1
Page view 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 78 79

Comments to this Manuals

No comments