Sierra Wireless WISMO218 User Manual Page 63

  • Download
  • Add to my manuals
  • Print
  • Page
    / 79
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 62
WA_DEV_W228_UGD_002 Rev 003 Page 63 of 78
WISMO228 TCP/IP AT Commands
Manual
UDP Socket
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,80,”www.wavecom.com”
,80
//create a UDP client towards peer IP device @
//“www.wavecom.com” , port 80
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 is //UDP)
AT+WIPDATA=1,1,1
CONNECT
//exchange data on socket idx 1:
//read, write
+++
//switch to AT mode
OK
AT+WIPCLOSE=1,1
OK
//close the UDP socket index 1
AT+WIPCREATE=1,1,1234
//start a UDP server and listen for datagram on port 1234
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 is UDP)
Page view 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 78 79

Comments to this Manuals

No comments