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
unmap: switch the UART to AT mode.
continuous: switch the UART to data mode.
continuous transparent: switch the UART to data mode. In this mode,
Comments to this Manuals