Technical information
Chapter 2: AT+i Commands Reference
May 31, 2008 AT+i Commands Reference Manual 2-173
+iHSS - Assign Special Characters to Hosts
+iDSTR - Define Disconnection String for SerialNET Mode
Syntax: AT+iHSS= <control_characters>
When W24 is connected to HSRn (where n=0..2) in SerialNet
mode, and character <Cm> (where HSS=<C1><C2><C3>)
arrives from the host, W24 will close the socket to remote server
HSRn, flush all characters received from host prior to <Cm>, and
open a socket to remote server HSRm. In the special case when
n=m, W24 doesn't do anything. In any case, the control character
will not be sent to remote server over the socket. W24 doesn't
perform software reset, and stores all characters received from the
host in MBTB (if defined). In addition, the SNRD parameter
doesn't have any affect.
Parameters: control_characters = A string containing three control characters.
Command Options:
control_characters='' No control characters are defined. W24 will not respond to
control characters to switch among HSRVs.
control_characters=<string> string is <C0><C1><C2>, where <Ci> is an ASCII character or a
binary escape sequence (or an empty character). A binary escape
sequence is represented as \xhh (4 characters) where h is a
hexadecimal digit 0..9 or A..F. For example: AT+iHSS="abc".
Default: Empty.
Result Code:
I/OK If control_characters is an empty or legal string.
I/ERROR Otherwise.
Example: at+ihss=\x23\x24\x00
When a number sign character '#' is received from host (ASCII
023 in hexadecimal notation), switch to primary remote server
(HSR0). When a dollar sign '$' arrives, switch to HSR1. When a
Null character arrives, switch to HSR2.
Syntax: AT+i[!]DSTR:<disconnect_string>
Permanently sets SerialNET device disconnection string.
In a modem environment, W24 also goes offline following this
event.
Parameters: disconnect_string = The string expected on a serial link to signal
socket disconnection.
Command Options:
disconnect_string= '' Empty string - the connection will never be terminated due to a
string arriving on serial link.










