User's Manual

Table Of Contents
Telnet Client
AT+i Programmer‘s Manual Version 8.32 12-4
12.4 +iTBSN[%] Telnet Send A Byte Stream
Syntax:
AT+iTBSN[%]:<sz>:<stream>
Sends a byte stream of size <sz> to the Telnet server.
Parameters:
<sz>
The exact size of the byte stream that follows.
<stream>
A byte stream of size <sz> to be sent to the Telnet server.
Command Options:
<sz>
0..4GB
<stream>
An 8-bit byte stream of exactly size <sz>. If <sz> is larger
than 256 bytes, iChip assumes host flow control. Depending
on the setting of the FLW parameter, the flow control mode is
either software or hardware.
Under software flow control mode, the host processor must
respond to iChip‘s flow control characters. The flow control
protocol is detailed in the ―Host iChip Software Flow
Control‖ section later in this document.
Under hardware flow control, the ~CTS/~RTS RS232 control
signals must be connected and the host must respond to
iChip‘s ~CTS signal. The host may send data only when the
~CTS signal is asserted (active low).
%
When the auto-flush (‗%‘) flag is specified, the Telnet socket
is automatically flushed immediately after receiving the
<stream> from the host. Otherwise, data will be transmitted
to the Internet only in integral quantities of the specified
Maximum Transfer Unit (MTU) or when the AT+iTFSH
command is issued.
Result Code:
I/OK
After <sz> bytes have been transferred successfully to the
Telnet socket‘s output buffer.
I/ERROR
Otherwise