Format: QUERY Q Purpose: To query the modem for its status information. Possible characters returned by the modem are as follows: Responses Meaning HO or HI Hook status: HO = on-hook, HI = off-hook. Current ringcount setting in hex. SO to SF B D Line busy. Line dead: no dial-tone found or no ring/ no busy timeout after dialing. Successful dial and handshake. Dial not recorded: dial tone present after dialing. No answer: ringcount plus 3 exceeded. L N x TO Tl Integrity test passed. Integrity test failed. The first group of characters is always returned for a QUERY command.
The second group of characters is returned only after a dialing sequence has been started or a change has occurred in the dialing status. The third group of characters is returned when a TEST command has occurred. All characters except the first group are erased by being read and do not appear in response to the next QUERY unless the 3-52 Internal Modem