Sierra Wireless WISMO218 User Manual Page 49

  • Download
  • Add to my manuals
  • Print
  • Page
    / 79
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 48
WA_DEV_W228_UGD_002 Rev 003 Page 49 of 78
WISMO228 TCP/IP AT Commands
Manual
Read Command
AT+WIPDATA?
NONE
Test Command
AT+WIPDATA=?
OK
if <protocol> = 1
Unsolicited response
+WIPDATA: <protocol>,<idx>,<datagram size>,<peer IP>,<peer port>
Caution: Using AT+WIP AT commands, when receiving several UDP datagrams on an IP bearer,
+WIPDATA indication is sent once for the first received datagram. Next indication (for next
remaining UDP datagram to read) is sent once the first datagram have been read (using
+WIPDATA command).
if <protocol> = 2
Unsolicited response
+WIPDATA: <protocol>,<idx>,<number of readable bytes>
Caution: The value returned by <number of readable bytes> indicates that there is some TCP data ready
to be read but number of bytes returned might not be reliable. Moreover, using AT+WIP AT
commands, when receiving several TCP packets on an IP bearer, +WIPDATA indication is sent
once for the first received packet. The next indication (for the next remaining TCP packet to
read) is sent after the first packet has been read (using +WIPDATA command).
Parameters and Defined Values
<protocol>:
socket type
1
UDP
2
TCP client
<idx>:
socket identifier
<mode>:
mode of operation
0
unmap: switch the UART to AT mode.
1
continuous: switch the UART to data mode.
2
continuous transparent: switch the UART to data mode. In this mode,
Page view 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 78 79

Comments to this Manuals

No comments