2.2.1.5 Hook Response Message

The Hook Response Message is sent by the server to signal closing the connection. This message has 4 ASCII fields specified in [RFC1345].


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

ASCII - CR

ASCII - LF

Response (variable)

...

ASCII - CR

ASCII - LF

ASCII - CR (1 byte): The ASCII encoding for the carriage return character, 0x0D.

ASCII - LF (1 byte): The ASCII encoding for the line feed character, 0x0A.

Response (variable): The Response field MUST be an ASCII-encoded string. The Response field MUST have one of the following values.

Value

Meaning

"OK"

Modem is already in "Offline Command Mode" state.

"NO CARRIER"

Connection terminated.

"ERROR"

Unexpected error.

ASCII - CR (1 byte): The ASCII encoding for the carriage return character, 0x0D.

ASCII - LF (1 byte): The ASCII encoding for the line feed character, 0x0A.