USR / Documentation foer AT#CID=...

Frank Doepper (woffs@frosch.l.east.de)
Sun, 19 Apr 1998 15:06:58 +0200


On 17 Apr 98 13:25:02 GMT, Gert Doering <gert@greenie.muc.de> wrote:
>does anybody have documentation for the USR modem command "AT#CID=..."?

I have a Rockwell documentation. I post it; it may be of interest... and
I received many logfiles in this newsgroup which were longer than this
text. Sorry if you already have got this.

3.6.   CALLER ID COMMANDS
3.6.1.  AT#CID Command

#CIDn - Caller ID

Enables or disables Caller ID.

#CID=0  Disables Caller ID. (Default.)

#CID=1  Enables Caller ID with formatted presentation to the DTE.
The modem will present the data items in a <Tag><Value> pair
format. The expected pairs are data, time, caller code
(telephone number), and name.

#CID=2  Enables Caller ID with unformatted presentation to the
DTE. The modem will present the entire packet of information,
excluding the leading U's, in ASCII printable hex numbers.

Result Codes:

OK      n = 0 or 2.

ERROR   Otherwise.

Inquiries

#CID?   Retrieves the current Caller ID mode from the modem.

#CID=?  Returns the mode capabilities of the modem in a list with
each element separated by commas.

Formatted Form Reporting

The modem presents the data in the <tag> = <value> pair format
as described in the table below. Spaces are present on both
sides of the equal sign.

        Tag     Description

DATE    DATE = MMDD where MM is the month number (01 to 12) and DD
is the day number (01..31).

TIME    TIME = HHMM where HH is the hour number (00 to 23) and MM
is the minute number (00 to 59).

NMBR    NMBR = <number> or P or O where <number> is the telephone
number of the caller, where P indicates that the calling number
information is not available since the originating caller has
requested private service, and where O indicates that the
calling number information is not available or out of service at
the calling location.

NAME    NAME = <listing name> where <listing name> is the
subscription name.

MESG    MESG = <data tag> <length of message> <data> <checksum> in
printable ASCII hex numbers. This tag indicates a data item not
listed above. The message is only possible for Multiple Message
Format.

Notes:

1.      The modem does not present any Caller ID information if the
DCE detects a checksum error in the Caller ID packet.

2.      In the event of an unrecognized data tag, the modem will
present the data in ASCII hex numbers following the MESG tag.

Example of Formatted Form Reporting

1.      The following example illustrates the standard Caller ID
message packet.

RING

DATE    =       0321

TIME    =       1405

NMBR    =       5045551234

NAME    =       A N OTHER

RING

RING

2.      The following example illustrates the case where the tag of
the packet is not recognized by the modem.

RING

MESG    =       060342424231

RING

RING

Unformatted Form Reporting

The modem presents all information and packet control
information found in the message. The modem, however, excludes
the leading U's (channel seizure information) from the
presentation. The packet is presented in ASCII printable hex
numbers, the modem does not insert spaces, or line feeds, for
formatting between bytes or words of the packet.

The modem does not detect the checksum of the packet.

Example of Unformatted Form Reporting

RING

0412303332323234303539313435353132333435

RING

RING

-- 
http://www.imn.htwk-leipzig.de/~fdoeppe/   - PGP available -