HIGH SPEED INTERNET MODEM FAMILY
CH2166
-
Send/Retrieve Email. Unlimited Email, V.90
FEATURES
  • Dual function device: Can operate as both a
  • machine interactions. Email allows information to be
    conventional analog modem and an Internet
    easily transferred between systems, and provides quick
    appliance.
    low
    cost
    multi-path
    communication.
    Replacing
    conventional modems and long distance telephone
  • Use with any Non-proprietary commercial or private
  • lines with local access Internet connections saves
    ISP.
    money by reducing fixed asset and maintenance costs,
  • Use with Cermetek’s iModem Network ISP with
  • and limiting communication expenses.
    1000s of local access (POP) numbers world wide.
  • Transparent Internet operations with Point-to-Point
  • Protocol (PPP), Password Authentication Protocol
    USER FRIENDLY INTERFACE LAYER
    (PAP), Challenge Authentication Protocol (CHAP),
    The CH2166 iModem provides a robust and user
    Domain Name Resolution (DNS), Send Email
    friendly API ~ application interface ~ tailored to offer
    (SMTP), Retrieve Email (POP3), TCP/IP and UDP
    high performance in environments with low bandwidth
    to connect to the Internet.
    CPUs. It facilitates the implementation of a wide variety
  • Authenticated SMTP supported.
  • of IP applications and insulates the user from complex
  • I-Sockets: Open Sockets.
  • Internet networking details. This API consists of various
    @ ® commands that look and feel like conventional
  • Send/Retrieve streaming email of unlimited length.
  • modem AT commands. With the @ ® commands, the
  • Send pre-stored email up to 300K bytes from static
  • user can perform all standard SMTP and POP3 email
    memory.
    operations, including: composing, sending, retrieving
  • Stored email up to 1.7M bytes in volatile memory.
  • and deleting email messages; plus establish BSD style
    socket connections. Command results are conveyed via
  • Retrieve email messages from POP3 servers.
  • the iModem’s V.24 (EIA 232-E) serial interface.
  • Concurrent and multiple SMTP, POP3 and Open
  • Socket connections supported.
  • Programmable via V.24 (EIA 232-E), 5 volts serial
  • OVERVIEW OF THE CH2166 iMODEM
    interface.
    A conceptual representation of the CH2166 iModem in
  • Resident modem supports: V.90, V.34bis, V.34,
  • an embedded environment is presented in Figure 1. As
    V.22bis, V.22A/B V.23, V.21, Bell 212A and 103,
    with virtually all Internet enabled devices, the CH2166
    (depending on model) and can be used in
    iModem requires Internet and ISP configuration
    conventional modem mode.
    parameters. Among those are email addresses,
    authentication
    data,
    and
    telephone
    numbers.
  • Cermetek @ ® AT-like Commands.
  • Configuration parameters may be specified at the time
  • Built-in DAA connects to Telco/PSTN telephone
  • of an internet operation or derived from profiles stored
    network with 1500 VAC RMS isolation and 2122V
    on the CH2166 iModem.
    peak surge protection.
  • UL 60950 and CSA C22.2 950 (Third Edition)
  • Network Protocol Stack. The CH2166 iModem uses a
    Listed, reference UL File E104957 (pending).
    Network Protocol Stack to perform API commands
  • FCC Part 68 Approved (pending)/Industry Canada
  • operations involving Internet interactions. This protocol
    CSA CS-03 Part I approved (pending).
    stack is described in Figure 2.
  • Pin-for-Pin compatible with CH2124/60 iModem
  • The organization of the stack greatly reduces the
    family and modem CH179X/2056 family.
    complexity of the commands while providing the user
  • Single supply +5 Volt operation.
  • with unbridled access to the power and flexibility of the
  • Small size: 1.35” x 1.97” x 0.55” (nominal).
  • CH2166. When the CH2166 is functioning as an
  • 90 day free trial ISP subscription to provided with
  • Internet appliance, multiple iModem applications ~ and
    each iModem.
    activities using those applications ~ can execute
    concurrently.
    When the CH2166 is functioning as an analog modem,
    INTRODUCTION
    the user can only issue standard analog modem
    Direct machine-to-machine interaction represents the
    commands rather than the complete suite of CH2166
    next logical extension of the internet. Cermetek internet
    commands. This is because all data flowing from the
    modem (iModem) products are designed to leverage
    user to the CH2166 ~ via its RS232 Serial Port ~ is
    the Internet infrastructure for commercial machine-to-
    2007 Cermetek Microelectronics, Inc.
    Page 1
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    CH2166
    iModem
    Product
    Internet
    Family
    (PPP, SMTP, TCP/IP,
  • ISP Telephone Number
  • POP3)
  • Internet Servers
  • Authentication Data
  • Email Addresses
  • Send email
  • Retrieve email
  • Configuration Parameters
  • Delete email
  • Socket Communications
  • Store data locally
  • Functions Performed
    Figure 1.
    Conceptualized Block Diagram illustrating the Cermetek CH2166 iModem product family
    performing the embedded internet application function.
    routed directly to the CH2166 modem hardware without
    identified by the user. Note that Quick Commands do
    interpretation, and is per standard modem operational
    not use Session IDs nor are Session IDs used when
    procedures and protocols (i.e., the modem transmits
    Analog Modem Operation is selected.
    the data out the TIP and RING pins to the PSTN).
    The user allocates a Session Activity ID by issuing a
    Internet Connectivity.
    The CH2166 iModem uses
    @GIDGET command and frees it by issuing a
    Application and Link Profiles to manage configuration
    @GIDFREE command. The ID uniquely identifies an
    parameters.
    Application Profiles contain parameters
    application instance as long as it is allocated. Currently,
    that apply to all aspects of SMTP and POP3 addressing
    email transmission, email retrieval, email storage, and
    and
    network
    connectivity.
    Link
    Profiles
    contain
    custom I-Socket applications are supported.
    Email
    parameters specific to dialup IP link connectivity.
    messages of unlimited length can be sent and retrieved
    with streaming email. The CH2166 is ideal for
    Standard CH2166 commands enable the user to easily
    applications requiring overlapping Internet operations,
    distinguish instances of iModem applications, permit
    storage of large amounts of data (300K bytes static
    multiple simultaneous TCP connections, and allow
    memory and 1.7M bytes volatile memory), and the
    virtually all configurable parameters to be specified as
    flexibility of BSD style socket operations.
    part of the command. Quick CH2166 commands, by
    contrast, allow few parameters to be specified as part of
    Application Profiles.
    The CH2166 stores network
    the command but perform all underlying network
    connectivity,
    email
    address,
    and
    authentication
    connectivity operations automatically.
    configuration parameters in Application Profiles. These
    AP Profiles are in static CH2166 memory and are
    Analog Modem Operation. The CH2166l operates
    unaffected by power loss. A complete list of available
    strictly as an analog V.90 modem when this function is
    Application and Link Profiles can be found in Table II.
    selected. It is controlled with industry standard Hayes
    AT commands in this case.
    Refer to Cermetek
    AP Profiles can be modified with Profile Management
    Document # 613-0001, AT Commands and S-
    Commands (see Table I), or modified externally with
    Registers, for AT commands supported by the CH2166.
    any ASCII editor and then downloaded to the CH2166
    via the serial port. Typical PC ASCII editors, such as
    MS NotePad , may be used edit these files. Contact
    ®
    BASIC INTERNET APPLIANCE OPERATION
    Cermetek for Download assistance.
    Session Activity ID. A Session Activity ID is used to
    uniquely identify each instance of an iModem
    There are four basic Application Profiles:
    application when Standard commands are used and
    Internet Appliance operation is selected.
  • SMTP AP Profile. This profile supplies SMTP and
  • TCP/IP configuration and email address data, such
    This allows multiple iModem applications to be easily
    2007 Cermetek Microelectronics, Inc.
    Page 2
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    USER API INTERFACE
    SMTP
    POP3
    SOCKETS
    API
    API
    API
    FILE
    MODEM
    SMTP
    POP3
    SOCKETS
    DNS
    MEMORY
    API
    INTERFACE
    MANAGEMENT
    TCP
    UDP
    API
    IP
    PPP
    MODEM
    DYNAMIC
    STATIC
    MEMORY
    MEMORY
    Figure 2.
    CH2166 Network Protocol Stack.
    and provide robust flow control. A default iModem
    as the SMTP server name , TCP Port number, and
    AP Profiles is used unless another one is specified.
    STMP authentication data if necessary.
    Both short and long forms of Standard Commands
  • POP3 AP Profile. This profile supplies POP3 and
  • are supported and may be used interchangeably.
    TCP/IP configuration and authentication data, such
    as the POP3 server name and authentication data.
  • Quick Commands. These commands minimize
  • user CH2166 interactions and are provided as a
  • I-Socket
  • AP
    Profile.
    This
    profile
    supplies
    convenience for experimentation and prototyping.
    configuration and possibly authentication data for
    A default iModem AP profile is used unless another
    custom applications that use I-Sockets. It specifies
    one is specified. No other instance of an iModem
    information such as Internet servers, TCP port
    application can be executing when one of these
    numbers and possibly authentication data.
    commands is used (i.e., No Session Activity ID is
    used with these commands.)
  • Link Profile. This profile supplies configuration
  • data for dialup IP connections. It specifies
  • Device Function Selection Commands. These
  • information such as telephone numbers and ISP
    commands are used to select Internet Appliance or
    authentication data.
    Analog Modem operation. They are specialized
    commands that toggle CH2166 device function
    Default AP profiles are provided by Cermetek. Most of
    between the two kinds of operation. No Session
    the configuration parameters in the AP profiles can be
    Activity ID is used with these commands.
    overridden
    by
    specifying
    them
    as
    command
    parameters.
    Configuration parameters specified as
  • File Management Commands.
  • The CH2166
    command parameters have precedence over those
    supports numerous internal file management
    contained in the AP Profiles.
    commands. These commands manage files stored
    in both static and volatile memory. Both short and
    Command Structure. There are four basic types of
    long forms of the commands are supported and
    CH2166 commands as described below. Standard and
    may be used interchangeably.
    Quick commands are used when Internet Appliance
    operation is selected. Hayes compatible AT commands
    Command Architecture. The structure of Application
    are used when Analog Modem operation is selected.
    and Link profiles makes it possible access the contents
    There
    are
    also
    some
    auxiliary
    commands
    for
    for the entire set of associated Application and Link
    configuring the device, toggling between Analog
    profiles by referencing only a single profile name (i.e,
    Modem and Internet Appliance operation and general
    Profiles in the same set or suite contain transparent
    file management.
    internal linkage). Parameters specified as part of a
    command have precedence over those specified in a
    Refer to Table I for a brief description of all commands
    profile. Command results, diagnostics, and error
    supported by the CH2166.
    notifications are conveyed to the user via the serial port.
  • Standard Commands. These allow specification
  • Send and Retrieve Email. The CH2166 has the ability
    of virtually all relevant configuration parameters,
    to send and retrieve email of unlimited length. Once a
    streaming email transmission session is set up, the
    2007 Cermetek Microelectronics, Inc.
    Page 3
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    user just sends data to the CH2166 ~ one line at a time
    Contact Cermetek and ask for the CH2166 iModem
    ~ for as long as desired. The @ETXDEND command is
    Evaluation Board.
    used to end the streaming email session. Alternatively,
    data in files on the CH2166 can be sent with the
    @ETXFILE command.
    iMODEM CONTROL METHODOLOGIES
    ®
    @
    commands
    are
    conveyed
    from
    the
    user
    Storage Memory. A total of 300K bytes of Flash RAM
    environment to the CH2166 via the serial port. The
    or static memory is available for permanent storage of
    CH2166 processes received commands based on
    files on the CH2166.
    There is also 1.7M bytes of
    configuration parameters specified as part of the
    volatile memory or dynamic RAM available for
    command, and in the effective Link and Application
    temporary file storage on the CH2166.
    profiles. Parameters specified as part of a command
    have precedence over those in profiles. See Table I for
    Email messages may include files from either static or
    a summary of available @ Commands. User Control
    ®
    dynamic RAM memory, at the user’s discretion.
    of
    operations
    that
    involve
    networking
    or
    communications
    falls
    into
    the
    following
    general
    Refer to Cermetek document, CH2166: Commands,
    categories:
    Profiles and Examples, for more details.
  • Passive Network Control. Operations are initiated
  • iModem Hardware Configuration.
    Each CH2166
    with a single command and the underlying
    iModem contains a fully functional 56kbps modem and
    networking and communications operations are
    the hardware and firmware needed for Internet
    automatically performed without user interactions.
    connectivity and functionality. The unique architecture
    This type of control applies mostly to Quick
    of Cermetek iModems enables the CH2166 iModem to
    commands which do not use a Session Activity ID.
    operate as either an Internet Appliance or as a high
    reliability Analog Modem.
  • Active Network Control. Individual Commands ~
  • usually Standard Commands ~ are used to perform
    The CH2166 iModem Family of products are pin
    networking and communications operations such
    compatible with the CH179X and CH2056 modem
    as establishing and releasing TCP connections.
    products. Referring to Figure 3, the CH2166 iModem
    This type of control allows CH2166 networking and
    Family consists of an industrial grade high speed
    communications operations to be distributed in a
    modem module and a µP controller with associated
    way that is tailored to needs of the user’s
    internal logic. The µP controller and the logic provide
    application.
    all the functions required for internet communication via
    standard PSTN telephones lines.
    The CH2166
    Passive Network Control.
    The type of control
    contains an additional 8 Mbytes of RAM and 2 Mbytes
    requires that the user simply monitor the result of the
    of Flash RAM.
    operation corresponding to a CH2166 command. (i.e.
    The host does not participate in networking or
    Required External Connections.
    The CH2166
    communications operations.) After the user issues a
    iModem requires an external RJ-11C jack for the PSTN
    CH2166 command, the CH2166 generates a POSTED
    line connection.
    An ITU-T V.24 serial interface is
    message to indicate the operation has started.
    required when host processor control of the iModem is
    Subsequently the CH2166 will automatically handle all
    required in the specific application. All retrieved emails
    aspects of the operation and report the outcome when it
    are presented to the host system for further processing
    is complete. Consequently, the host CPU has much
    and/or retention via the serial interface.
    spare bandwidth because it only needs to monitor the
    operation outcome. The CH2166 generates an OK
    Approvals. The CH2166 iModem Family is FCC Part
    message to report a successful operation and an
    68 approved, UL 60950 and CSA C22.2 950 (Third
    ERROR message with a diagnostic code otherwise.
    Edition) listed and Industry Canada CS-03 approvable.
    Configuration parameters are derived from Application
    Physical Dimensions. The modules are designed for
    and Link profiles and specified with commands as with
    PCB through-hole mounting and are 1.35” x 1.97” x
    all other @ commands. Execution of a CH2166 email
    ®
    0.55” in size.
    command typically involves the following steps. The
    ®
    User ~ host processor ~ issues the appropriate @
    command. The CH2166 establishes dialup/PSTN and
    iMODEM EVALUATION BOARD
    PPP connections with the ISP and performs any
    Cermetek manufactures a companion evaluation board
    necessary authentication. The CH2166 establishes a
    that is designed to simplify the hardware connections
    TCP connection and SMTP connection with an email
    required to program the iModem as well as providing a
    server. The CH2166 transfers the email message over
    reliable platform to assist with system level debugging.
    the TCP
    connection.
    The
    CH2166 releases all
    2007 Cermetek Microelectronics, Inc.
    Page 4
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    Flash ROM
    µP
    2Mx8
    Network
    Flash ROM
    Protocols
    Stack
    32Kx8
    RAM
    8Mx8
    CH2166
    MODEM
    RXD
    TIP
    RTS
    SERIAL
    V.90
    DAA
    DCD INTERFACE
    PSTN
    DSR
    V-24
    Ring
    RI
    EIA-232-E or
    CTS
    UART
    TXD
    DTR
    MODEM INTERFACE
    RST
    SPK
    +5V
    GND
    Figure 3. Functional Block Diagram of Cermetek CH2166 iModem Products.
    connections and notifies the user of the operation
    iMODEM TRANSACTION EXAMPLES
    outcome by issuing an OK or ERROR response over
    The following examples are intended to illustrate
    the serial port.
    general usage of the CH2166. For a more detailed
    discussion of the commands, refer to Cermetek
    Active Network Control. The user issues individual
    document,
    CH2166:
    Commands,
    Profiles
    and
    CH2166 commands and is notified of their outcome as
    Examples.
    in the Passive Network Control case. The essential
    difference is that commands are used to perform
    In the following examples, Enter indicates the
    specific operations such as establishing an STMP
    command or instruction(s) sent to the CH2166 from the
    server connection or transferring an email message.
    Host Controller via the CH2166’s serial interface port.
    The typical sequence of commands used to transfer an
    Result indicates a response generated by the CH2166
    email message is as follows:
    and sent to the Host Controller via the CH2166’s serial
    1. Issue a command to begin an SMTP session.
    interface port (or the action taken by the CH2166).
    2.
    Issue a command to establish a TCP connection
    Commands,
    actions,
    are
    in
    bold;
    and the underlying ISP dialup connection with an
    descriptions/explanations are non-bolded.
    SMTP server.
    3. Issue a command to transfer a file containing an
    email message.
    IMPORTANT NOTE
    4. Issue a command to release the TCP and all other
    AS DELIVERED FROM THE FACTORY, the CH2166
    connections.
    default DCE speed is set at 19.2K bps, 8-N-1. Be
    5. Issue a command to end the SMTP session.
    sure to configure the host processor (DCE) to match
    these parameters or the CH2166 will not properly
    A Session Activity ID is used to identify the instance of
    communicate with the host.
    the iModem email transmission session. The CH2166
    issues a POSTED message to indicate execution of
    each command has started, and an OK or ERROR to
    notify the user of the command outcome.
    2007 Cermetek Microelectronics, Inc.
    Page 5
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    PROFILE MANAGEMENT EXAMPLES
    EXAMPLE 1B. Change the POP3 server to be used in
    The CH2166 comes from the factory with pre-
    the UUNET Application Profile.
    configured Application and Link profiles which are listed
    in table II.
    Application profiles apply to Internet
    Enter:
    @ERXC: PROFILE=pop3.uunet
    applications such as SMTP, and Link profiles apply ISP
    SERVER=TEXT-pop3.pop.net<CR>
    dialup connectivity and authentication. The default
    Result:
    POSTED: Indicates the CH2166 has
    iModem profile is configured to work with Cermetek’s
    received
    and
    begun
    executing
    the
    ISP and its Internet servers.
    command.
    Result:
    OK: The CH2166 indicates the command
    The user can customize profiles using with Profile
    succeeded
    Management commands listed in Table. Note that
    these commands do not use a Session Activity ID.
    EXAMPLE 1C. Change the local ISP access telephone
    number in the UUNET Link Profile.
    IMPORTANT NOTE
    Enter:
    @LINKC: LEVEL=LINK
    All profile changes made with the @ETXC , @ERXC ,
    PROFILE=link.imodem.uunet
    and @LINKC commands are permanent and
    PHONE=9,1,408,555,1212<CR>
    unaffected by power loss.
    Result:
    POSTED:
    Indicates the CH2166 has
    received
    and
    begun
    executing
    the
    command.
    Result:
    OK: TheCH2166 indicates the command
    SMTP Application profiles may be customized by
    succeeded.
    issuing the @ETXC command with the parameters to
    be modified. An OK response from the CH2166
    indicates
    the
    parameter
    changes
    have
    been
    successfully completed (i.e., a POSTED message from
    EMAIL TRANSMISSION EXAMPLES
    the CH2166 indicates execution of the command has
    Each email file stored on the CH2166 has a unique
    started).
    name. The user must specify the file name when
    issuing a command to send a email file.
    POP3 Application profiles may be customized by
    issuing the @EXRC command with the parameters to
    Examples 2A and 2B below illustrate alternative
    be modified. POSTED and OK responses from the
    methods for sending an email message. In Example
    CH2166 have the same significance as with the
    2A, a Quick Command is used, and in Example 2B
    @ETXC command above.
    Standard Commands are used.
    Link Profiles may be customized by issuing the
    EXAMPLE 2A. Send an existing file containing email
    @LINKC command with the parameters to be modified
    with a Quick Command
    The CH2166 will use the
    specified on the command line. POSTED and OK
    default iModem SMTP Application profile since one is
    responses
    from
    the
    CH2166
    have
    the
    same
    not specified The file test does not contain email
    significance as with the @ETXC and @ERXC above.
    header information (i.e., TO:, FROM:, SUBJECT:, etc.)
    Consequently header data will be derived from the
    Examples 1A, 1B and 1C illustrate the use of the
    application profile.
    @ERXC , @ETXC , and @LINKC commands to modify
    profile parameters.
    Enter:
    @QTM: FILE=test<CR>
    Result:
    POSTED: Indicates the CH2166 has
    received
    and
    begun
    executing
    the
    IMPORTANT NOTE
    command
    The @ETXC, ERXC, and @LINKC command options
    Result:
    OK: Mail sent. The CH2166 indicates
    are case sensitive.
    that email message test has been sent
    successfully and the diaulup and all
    EXAMPLE
    1A.
    Change
    the
    SMTP
    server
    protocol
    connections
    have
    been
    authentication method used in the UUNET Application
    released.
    Profile.
    EXAMPLE 2B. Send an existing file containing email
    Enter:
    @ETXC: PROFILE=smtp.uunet
    with a sequence Standard Commands. A Session
    AUTH_METHOD=ANY<CR>
    Activity ID is used to uniquely identify this instance of
    Result:
    POSTED:
    Indicates the CH2166 has
    the email transmission application. The CH2166 will
    begun executing the command.
    use the default iModem SMTP application profile as in
    Result:
    OK: The CH2166 indicates the command
    the previous example,. and the file test does not
    succeeded.
    2007 Cermetek Microelectronics, Inc.
    Page 6
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    contain email header information (i.e., TO:, FROM:,
    the IP Link ~ and the underlying PSTN/PPP connection
    SUBJECT:)
    ~ would have been preserved if another application
    instance had been using the IP Link.
    Enter:
    @GIDGET: TX_MAIL<CR>
    Result:
    POSTED: Operation started.
    Sending Streaming Email.
    The user can send
    Indicates the CH2166 has received and
    streaming
    email
    by
    issuing
    the
    @QTX Quick
    begun executing the command.
    Command; or by issuing the Standard @ETXDSTART
    Result:
    OK[1]: E-Mail Transmission Session ID
    command to initiate the streaming email session and a
    Allocated.
    The
    CH2166
    indicates
    series of @EXTDEND commands to send lines of data.
    Session
    Activity
    ID
    1
    has
    been
    See Examples 3A and 3B.
    successfully allocated.
    Enter:
    @ETXCONN[1]: <CR>
    EXAMPLE 3A. Send a streaming email message with
    Result:
    POSTED[1]:
    Operation
    started.
    a Quick Command. Email header information ~ TO:,
    Indicates the CH2166 has received and
    FROM:, SUBJECT:, etc. ~ is defined from the default
    begun executing the command.
    iModem SMTP application profile.
    Result:
    OK[1]: E-Mail Transmission Service
    Ready. The CH2166 indicates that IP
    Enter:
    @QTX:<CR>
    connectivity with the ISP is successfully
    Result:
    POSTED: Indicates the CH2166 has
    established.
    Also,
    the
    requisite
    received and begun executing command.
    underlying PSTN and PPP connections
    Result:
    OK: Begin sending E-Mail.
    The
    are established.
    CH2166
    indicates
    streaming
    email
    Enter:
    @ETXFILE[1]: FILE=test<CR>
    transmission can begin. All the necessary
    Result:
    POSTED[1]:
    Operation
    started.
    protocol and PSTN connections are
    Indicates the CH2166 has received and
    established.
    Subsequently,
    the
    user
    begun executing the command..
    issues lines of ASCII data. The <CTL>D
    Result:
    OK[1]: E-Mail successfully sent The
    indicates the end of the email message.
    CH2166 indicates that email transmission
    Enter:
    This is a test message<CR>
    succeeded.
    Enter:
    sent using the Streaming<CR>
    Enter:
    @ETXDISC[1]:<CR>
    Enter:
    Email CH2166 Quick<CR>
    Result:
    POSTED[1]:
    Operation
    started.
    Enter:
    Command.<CR>
    Indicates the CH2166 has received and
    Enter:
    <CTL>D
    begun executing the command.
    Result:
    OK: Mail sent. The CH2166 indicates
    Result:
    OK[1]: E-Mail transmission service
    that streaming email message has been
    finished. The CH2166 indicates the IP
    sent successfully. All protocol and PSTN
    connection and the underlying protocol
    connections are released.
    and PSTN telephone connections are
    released
    EXAMPLE 3B.
    Send streaming email using a
    Enter:
    @GIDFREE[1]:<CR>
    sequence of Standard Commands. A Session Activity
    Result:
    POSTED[1]:
    Operation
    started.
    ID is allocated and used to identify this instance of
    Indicates the CH2166 has received and
    iModem email transmission application. All necessary
    begun executing the command.
    parameters except the destination email address are
    Result:
    OK[1]: E-Mail Transmission Session ID
    derived from the default iModem SMTP application.
    freed.
    The CH2166 indicates the
    Session Activity ID has been released.
    Enter:
    @GIDGET: TX_MAIL<CR>
    Result:
    POSTED: Operation started. Indicates
    Note that in Example 2A all the requisite underlying
    the CH2166 has received and begun
    operations occurred transparently after the @QTM
    executing the command.
    command was issued to the CH2166. By contrast, in
    Result:
    OK[2]: Session ID Allocated.
    The
    Example 2B, a sequence of Standard Commands were
    CH2166 indicates that Session Activity ID
    used to perform the same task. Also, a Session Activity
    2 has been successfully allocated.
    ID was allocated ~ via the @GIDGET command ~ and
    Enter:
    @ETXCONN[2]: <CR>
    used to email transmission application instance. All
    Result:
    POSTED[2]:
    Operation
    started.
    necessary configuration parameters were derived from
    Indicates the CH2166 has received and
    the default iModem SMTP application profile in both
    begun executing the command.
    cases.
    Result:
    OK[2]: E-Mail transmission Service
    Ready. The CH2166 indicates that IP
    In example 2B, the test email file was sent with the
    connectivity is successfully established.
    @ETXFILE command after IP connectivity was
    Also, the underlying protocol and PST
    established. The @ETXDISC released the IP link and
    telephone connections are established.
    all other protocol and physical connections. Note that
    2007 Cermetek Microelectronics, Inc.
    Page 7
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    Enter:
    @ETXDSTART[2]:
    Retrieving Email. All email messages cached by the
    TO=xxxx@yyy.com<CR>
    POP3 server are numbered starting with 1.
    The
    Result:
    POSTED[2]:
    Operation
    started.
    numbers are an ascending sequence of integers
    Indicates the CH2166 has received and
    without gaps.
    begun executing the command.
    Result:
    OK[2]: Ready to start streaming email.
    The CH2166 can retrieve email from any POP3 server
    The CH2166 indicates that streaming
    which conforms to the relevant Internet RFCs and does
    email transmission data can begin and
    not use proprietary email protocols. The user must
    that an SMTP server connection is
    specify a valid message number.
    A list of valid
    established.
    message numbers can be obtained with the Standard
    @ERXLIST Command.
    IMPORTANT NOTE
    The data in an email message is conveyed to the user
    The @EXTDATA command must be executed for
    via the CH2166 serial port as it arrives from the POP3
    each line of ASCII data to be sent.
    server.
    EXAMPLE 4A. Retrieve email message number 1 with
    Enter:
    @ETXDATA[2]: This is a<CR>
    a Quick Command. The necessary configuration
    Result:
    POSTED[2]:
    Operation
    started.
    parameters are derived from the default iModem POP3
    Indicates the CH2166 has received and
    Application Profile.
    begun executing the command.
    Result:
    OK[2]: Data sent.
    CH2166 indicates
    Enter:
    @QRX: MSG=1<CR>
    that ASCII data has been sent.
    Result:
    POSTED: Indicates the CH2166 has
    Enter:
    @ETXDATA[2]: test.<CR>
    received
    and
    begun
    executing
    the
    Result:
    POSTED[2]:
    Operation
    started.
    command.
    Indicates the CH2166 has received and
    Result:
    OK: Connected to E-Mail Retrieval
    begun executing the command.
    Server.
    The CH2166 indicates that a
    Result:
    OK[2]: Data sent.
    CH2166 indicates
    POP3 server connection is established
    that ASCII data has been sent.
    and authentication succeeded. Lines of
    Enter:
    @ETXDEND[2]: <CR>
    ASCII data will arrive one at a time as
    Result:
    POSTED[2]:
    Operation
    started.
    they arrive until a <CTL>D character is
    Indicates the CH2166 has received and
    received.
    begun executing the command.
    Result:
    This is test data from email<CR>
    Result:
    OK[2]: Streaming email completed.
    message 1.<CR>
    The CH2166 indicates the streaming
    Best Regards.<CR>
    email message has been successfully
    <CTL>D<CR>
    sent and the. SMTP server connection is
    Result:
    END: Email retrieval succeeded. The
    released
    CH2166
    indicates
    that
    retrieval
    of
    Enter:
    @ETXDISC[2]: <CR>
    message 1 is complete and successful
    Result:
    POSTED[2]:
    Operation
    started.
    Also, all protocol and PSTN telephone
    Indicates the CH2166 has received and
    connections are released.
    begun executing the command.
    Result:
    OK[2]: E-mail Transmission service
    <CTL>D ~ the <EOT> character ~ is the message
    finished. The CH2166 indicates that all
    termination character.
    protocol
    connections
    and
    PSTN
    telephone connections are released. In
    EXAMPLE 4B. Retrieve email message number 1 with
    the case another application instance is
    a sequence of Standard Commands. A Session Activity
    using the IP Link, the IP Link and
    ID is used to identify this instance of iModem email
    underlying
    protocol
    and
    telephone
    retrieval application.
    All necessary parameters are
    connections are not released.
    derived from the default iModem POP3 application
    Enter:
    @GIDFREE[2]: <CR>
    profile.
    Result:
    POSTED[2]:
    Operation
    started.
    Indicates the CH2166 has received and
    Enter:
    @GIDGET: RX_MAIL<CR>
    begun executing the command.
    Result:
    POSTED: Operation started. Indicates
    Result:
    OK[2]:
    E-Mail
    transmission
    ID
    the CH2166 has received and begun
    released.
    The CH2166 indicates that
    executing the command.
    Session Activity ID is released.
    Result:
    OK[3]: E-Mail Retrieval Session ID
    Allocated. The CH2166 has allocated
    Session Activity ID 3.
    Enter:
    @ERXQCONN[3]: <CR>
    2007 Cermetek Microelectronics, Inc.
    Page 8
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    Result:
    POSTED[3]:
    Operation
    started.
    Result:
    POSTED[3]:
    Operation
    started.
    Indicates the CH2166 has received and
    Indicates the CH2166 has received and
    bug execution of the command.
    begun executing the command.
    Result:
    OK[3]: E-Mail connection established.
    Result:
    OK[3]: E-Mail connection released.
    The CH2166 indicates a POP3 server
    The CH2166 indicates the POP3 server,
    connection
    is
    established
    and
    all
    other
    protocol,
    and
    the
    PSTN
    authentication succeeded. Also, the other
    telephone connections are released. An
    underlying protocol connections and a
    exception is the case where another
    PSTN
    telephone
    connection
    are
    application instance is using the IP link.
    established.
    In that case the IP link and underlying
    Enter:
    @ERXLIST[3]:
    format=LONG
    <CR>
    protocol and PSTN telephone connection
    List the email messages currently cached
    are preserved.
    on the POP3 server.
    Enter:
    @GIDFREE[3]:<CR>
    Result:
    OK[3]: Operation started. Indicates the
    Result:
    POSTED[3]:
    Operation
    started.
    CH2166
    has
    received
    and
    begun
    CH2166 indicates that the command has
    executing . The list of cached messages
    been received and action has been
    will follow.
    taken.
    Result:
    START[3]:
    Result:
    OK[3]:
    E-Mail Retrieval Session ID
    Result:
    L[3]: 1 1024 Mon, 1 Jan 2004 14:12:10
    released.
    CH2166
    indicates
    that
    –0800 <joe@isp.com> Livestock
    Session Activity ID is released.
    Result:
    L[3]: 2 2099 Mon, 1 Jan 2004 14:12:20
    –0800 <mae@isp.com> Stock
    In example 4A the @QRX Quick Command is used to
    Result:
    L[3]: 3 3125 Mon 1 Jan 2004 14:12:30 –
    perform the same task as a sequence of Standard
    0800 <bill@isp.net> Watches
    commands in example 4B. In example 4B, the
    Result:
    END[3]: The END message from the
    @ERXQCONN is the command that actually initiates
    CH2166 indicates that the list is complete
    email message retrieval.
    and the operation succeeded.
    The difference between example 4A and 4B is that the
    IMPORTANT NOTE
    @ERXCONN Standard command is used to establish a
    The CH2166 requires the user to specify the
    POP3 server connection before email is retrieved. This
    maximum number of data bytes that can be retrieved
    allows the user to issue a @ERXLIST command and
    with a single @ERXDATA command to prevent buffer
    determine
    what
    messages
    are
    cached
    before
    overflows. The valid range is from 1 to 1000.
    attempting to retrieve a message.
    Delete Email. The user can delete a single or multiple
    Enter:
    @ERXMAIL[3]: MSG=1 MAX=128 <CR>
    email messages with the @ERXDELETE command as
    long as the message numbers are known.
    Result:
    POSTED[3]: Operation started Indicates
    the CH2166 has received and begun
    executing the command.
    EXAMPLE 5. Delete email messages 2 - 4 (inclusive)
    Result :
    OK[3]: Ready to retrieve E-Mail data.
    using sequence of Standard Commands. The Session
    The CH2166 indicates that the message
    Activity ID identifies this instance of the iModem email
    number is valid and the user can begin
    retrieval application.
    The default iModem POP3
    retrieving data 1 with the @ERXDATA
    application profile is used to derive all the necessary
    command. A maximum of 128 bytes can
    parameters.
    be retrieved in a single operation.
    Enter:
    @ERXDATA[3]:
    Enter:
    @GIDGET: RX_MAIL<CR>
    Result:
    POSTED[3]: Operation Started.
    Result:
    POSTED: Operation started. Indicates
    Result:
    OK[3]: 17: This is data from<CR>
    the CH2166 has received and begun
    Enter:
    @ERXDATA[3] .
    executing the command.
    Result:
    POSTED[3]: Operation Started.
    Result:
    OK[3]: E-Mail retrieval Session ID
    Result:
    OK[3]: 11: message 1.<CR>
    Allocated. The CH2166 indicates that
    Enter:
    @ERXDATA[3]
    Session Activity ID has been allocated.
    Result:
    POSTED[3]: Operation Started.
    Enter:
    @ERXQCONN[3]: <CR>
    Result:
    END[3]: E-Mail Message retrieved.
    Result:
    POSTED[3]:
    Operation
    started.
    The
    CH2166
    indicates
    the
    email
    Indicates theH2166 has received and
    message is completely and successfully
    begun executing the command .
    retrieved.
    Result:
    OK[3]: Connected to E-Mail Retrieval
    Enter:
    @ERXDISC[3]:<CR>
    Server. The CH2166 indicates a POP3
    2007 Cermetek Microelectronics, Inc.
    Page 9
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    server connection is established and
    operations are conveyed to the user via the CH2166
    authentication succeeded.
    serial port.
    Enter:
    @ERXDELETE[3]: LIST=2-4<CR>
    Result:
    POSTED[3]:
    Operation
    started.
    I-SOCKETS Discussion. The most common use of I-
    Indicates the CH2166 has received and
    SOCKETS is for custom iModem applications to
    begun executing the command.
    exchange data with Internet servers over a TCP/IP
    Result:
    OK[3]: Message Deleted <CR>
    The
    connection. The following information must be known
    CH2166
    indicates
    that
    the
    email
    before this is possible:
    messages
    have
    been
    flagged
    for
    deletion. Messages are not actually
    1. The IP address or Symbolic Name of the target
    deleted
    unless
    the
    @ERXDISC
    Internet server.
    command succeeds.
    2. The TCP port number of the target application on
    Enter:
    @ERXDISC[3]:<CR>
    that server.
    Result:
    POSTED[3]:
    Operation
    started.
    Indicates the CH2166 has received and
    Additionally, a CH2166 I-Sockets Session Activity ID is
    begun executing.
    required.
    Result:
    OK[3]: E-Mail connection released.
    The CH2166 indicates the POP3 server
    EXAMPLE 6. Send and Receive data using with I-
    and TCP connections are released. Also,
    Sockets. In this case a POP3 server connection is
    the IP Link and underlying PSTN
    established and all parameters except the server name
    telephone are released unless they are
    and TCP port number are derived from the AT&T Link
    being
    used
    by
    another
    application
    profile.
    instance. Finally this message confirms
    that messages 2 – 4 are deleted from the
    Enter:
    @GIDGET: ISOCKET<CR>
    POP3 server.
    Result:
    POSTED: Operation started. Indicates
    Enter:
    @GIDFREE[3]:<CR>
    the CH2166 has received and begun
    Result:
    POSTED[3]:
    Operation
    started.
    executing the command.
    Indicates the CH2166 has received and
    Result:
    OK[1]:
    I-SOCKET
    Session
    ID
    begun executing the command.
    Allocated. The CH2166 indicates that
    Result:
    OK[3]: E-Mail Retrieval Session ID
    Session Activity ID is allocated for this
    freed released. The CH2166 indicates
    instance of an I-Socket application.
    that Session Activity ID is freed.
    Enter:
    IS_SOCKET[1]:
    RMAX=5000
    TMAX=5000<CR>
    Result:
    POSTED[1]:
    Operation
    started.
    OPEN SOCKET: I-SOCKET EXAMPLES
    Indicates the CH2166 has received and
    The following examples illustrate general usage of
    begun executing the command.
    CH2166 I-SOCKETS. I-SOCKETS provide virtually the
    Result:
    OK[1]: Socket Allocated. The CH2166
    same functionality as Berkley Sockets (BSD). For a
    indicates a BSD style socket descriptor
    more detailed discussion of the commands, refer to
    has been successfully allocated and
    Cermetek document, CH2166: Commands, Profiles and
    associated with the Session Activity ID.
    Examples.
    Also, the maximum time for a socket read
    or write operation to complete is 5000
    In the following examples, Enter indicates the
    milliseconds.
    command or instruction(s) sent to the CH2166 from the
    Enter:
    IS_IPCONNECT[1]:
    Host Controller.
    Result indicates what the CH2166
    PROFILE=LINK.ATT<CR>
    sends back to the Host Controller (or the action taken
    Result:
    POSTED[1]:
    Operation
    started.
    by the CH2166). Commands, actions, results are in
    CH2166 indicates that the command has
    bold; descriptions/explanations are non-bolded.
    been received and action has been
    initiated.
    I-SOCKETS Definition. Generally, sockets provide a
    Result:
    OK[1]: IP Link is up. The CH2166
    well known set of functions for performing TCP/IP
    indicates an IP Link with the ATT ISP is
    communications and related operations. I-SOCKETS
    established. This includes establishing
    have the same TCP/IP connection management
    the underlying PPP and PSTN telephone
    capabilities as BSD style sockets and virtually the same
    connections.
    semantics. The only significant difference is that a user
    Enter:
    IS_GETHOSTBYNAME[1]:
    initiates SOCKETS operations by issuing I-SOCKETS
    NAME=postoffice.att.net<CR>
    commands over the CH2166 serial port rather calling
    Result:
    POSTED[1]:
    Operation
    started.
    subroutines. Similarly, the results of I-SOCKETS
    Indicates the CH2166 has received and
    begun executing the command.
    2007 Cermetek Microelectronics, Inc.
    Page 10
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    Result:
    OK[1]: 65.200.205.193.
    The CH2166
    PSTN
    telephone
    connection
    are
    indicates the POP3 server IP address is
    released.
    65.200.205.193.
    Enter:
    @GIDFREE[1]:<CR>
    Enter:
    IS_CONNECT[1]
    PORT=110
    Result:
    POSTED[1]:
    Operation
    started.
    SERVER=IPV4-65.200.205.193<CR>
    Indicates the CH2166 has received and
    Result:
    POSTED[1]:
    Operation
    started.
    begun executing the command .
    Indicates the CH2166 has received and
    Result:
    OK[1]: I-Socket Session ID freed. The
    begun executing the command.
    CH2166 indicates that Session Activity ID
    Result:
    OK[1]: TCP socket connected.
    The
    is freed.
    CH2166 indicates a TCP connection with
    the POP3 server is established.
    ANALOG MODEM OPERATION
    This section describes operation of the CH2166 as a
    stand alone analog modem.
    Additionally, several
    IMPORTANT NOTE
    examples are provided that illustrate its usage as a
    The CH2166 requires the user to specify the
    Modem.
    The CH2166 supports Hayes compatible
    maximum number of bytes of data which may be
    commands which are listed in the TIA/EIA 602-A
    retrieved by each IS_RECV command.
    This is
    standard and described in the ITU-T V.250 standard.
    necessary to prevent buffer overruns. A value of at
    For a more detailed discussion of the commands, refer
    least 128 bytes is recommended.
    to Cermetek document, CH2166: Commands, Profiles
    and Examples.
    Enter:
    IS_RECV[1]: MAX=256<CR>
    Device Function.
    The CH2166 is a dual function
    Result:
    POSTED[1]: Indicates the CH2166 has
    device. It can operate as an Analog Modem or as an
    received
    and
    begun
    executing
    the
    Internet Appliance. However, these two operations are
    command.
    mutually exclusive and can not be intermingled.
    Result:
    OK[1]
    20:OK+
    POP3
    greeting.<CR><LF>
    The
    CH2166
    Internet Appliance operation is the default CH2166
    outputs the 20 byte POP3 server greeting
    function. The @IMENTER command selects CH2166
    over the serial port.
    Analog Modem operation. No Session ID is required
    Enter:
    IS_SEND[1] 6:quit<CR><LF>
    for Modem Operation. During Modem Operation only
    Result:
    POSTED[1]:
    Operation
    started.
    modem AT commands and operations, and the
    Indicates the CH2166 has received and
    selection of Internet Appliance operation are possible.
    begun execution of the command.
    Result:
    OK[1] 6: <CR> . The CH2166 indicates 6
    As with all modems, when in Analog Modem Operation
    bytes
    of
    data
    were
    successfully
    the CH2166 function in either of the following two
    transmitted.
    modes: Data Mode or Command Mode. In Data Mode,
    Enter:
    IS_RECV[1]: MAX=256<CR>
    there is no interpretation of data flowing through the
    Result:
    POSTED[1:
    Operation
    Started.
    CH2166 serial port. In Command Mode, the CH2166
    Indicates the CH2166 has received and
    interprets all ASCII strings flowing through the serial
    begun executing the command.
    port as industry standard Hayes AT commands (which
    Result:
    OK[1] 9:OK+ Bye<CR><LF>
    it tries to execute). All AT commands supported by the
    The CH2166 outputs the 9 byte POP3
    CH2166 are listed in the Cermetek Document # 613-
    server sign off message. This terminates
    0001, AT Commands and S-Registers.
    the POP3 server connection.
    Enter:
    IS_CLOSE[1]:<CR
    Successful execution of the @IMENTER command
    Result:
    POSTED[1]: Indicates the CH2166 has
    selects Analog Modem operation and puts the CH2166
    received
    and
    begun
    executing
    the
    in Command mode. Several AT commands can switch
    command.
    the CH2166 to Data mode: for example, the ATD
    Result:
    OK[1]: TCP socket released.<CR> The
    command. Consistent with industry standard modem
    CH2166 indicates the TCP connection
    operation, the CH2166 can be toggled from Data Mode
    and the socket descriptor are both
    to Command Mode by entering the +++ string while in
    released.
    Data Mode. Also, the CH2166 can be toggled from
    Enter:
    IS-IPRELEASE[1]:<CR>
    Command Mode back to Data Mode with the ATO
    Result:
    POSTED[1]:
    Operation
    started.
    command under the appropriate conditions.
    Indicates the CH2166 has received and
    begun executing the command.
    The @IMEXIT command is used to select Internet
    Result:
    OK[3]: IP Link is Down. The CH2166
    Appliance operation during Analogue Modem operation
    indicates that IP link and underlying
    and can only be entered when the CH2166 is in
    Command Mode.
    2007 Cermetek Microelectronics, Inc.
    Page 11
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    Result:
    OK Command accepted.
    AT Command Format. CH2166 modem commands
    Enter:
    @IMEXIT<CR>
    consist of three elements:
    Result:
    POSTED: Operation started. Indicates the
    1. The attention sequence,
    CH2166 has received and begun executing
    2. The commands themselves and
    the command.
    3. A terminating carriage return.
    Result:
    OK: iModem Operation Initiated. The
    EXAMPLE 7A. Tone dial a telephone number.
    CH2166
    indicates
    Internet
    Appliance
    Enter:
    ATDT1234567<CR>
    operation is successfully selected.
    Result:
    Modem goes off-hook
    AT [Commands]<CR>.
    APPLICATION PROFILE EXAMPLES
    Where: AT represents attention sequence. A and T
    The CH2166 uses Application Profiles containing
    may be either upper or lower case but must be
    configuration
    parameters,
    such
    as
    Login
    IDs,
    the same case.
    [ Command ] represents
    Passwords,
    email
    addresses,
    etc.;
    and
    other
    command strings.
    parameters needed for network connectivity operations.
    Cermetek provides default iModem profiles for the
    Where: <CR> represents carriage return (ASCII 13 or
    standard iModem applications: email transmission and
    HEX 0D)
    retrieval. If another profile is not specified, the default
    <LF> represents line feed (ASCII 10 or HEX
    iModem application profile supplies parameters during
    0A)
    CH2166 command execution and is the effective
    profile. Otherwise, the specified profile is the effective
    Automatic Answering.
    The CH2166 can be
    profile and supplies parameters during CH2166
    configured to automatically answer an incoming phone
    parameter execution. Cermetek customizes standard
    call by setting register S0 to an integer value between 1
    Application profiles upon customer request.
    and 255. This is only possible when Analog Modem
    Configuration parameters can be overridden by
    operation is selected.
    specifying them as part of a command. Parameter
    values specified as part of a CH2166 @ command
    ®
    EXAMPLE 7B. Set CH2166 to answer after 3 incoming
    remain effective for the lifetime of any protocol
    rings.
    connection resulting from execution of the command.
    Enter:
    ATS0=3<CR>
    The examples below illustrate how parameters are
    Result:
    OK
    specified as part of a command.
    When S0 is set to 0, the CH2166 will not auto-answer.
    EXAMPLE 8A. In this case, the destination email
    address is specified as part of @QTM command The
    email file is sent with this Quick Command. All
    IMPORTANT NOTE
    configuration parameters except the destination email
    The CH2166 can only answer an incoming call when
    address are derived from the default iModem SMTP
    Analog Modem Operation has been selected with
    application profile. The email file is test . And does not
    via the @IMENTER command.
    contain email header information ~ TO:, FROM:,
    SUBJECT:, etc.
    EXAMPLE 7C.
    Set the CH2166 to answer after 2
    Enter:
    @QTM: FILE=test
    incoming rings.
    Assume Activity Session ID 1 is
    TO=staff@cermetek.com<CR>
    allocated and Internet Appliance operation is selected.
    Result:
    POSTED: Indicates the CH2166 has
    received
    and
    begun
    executing
    the
    Enter:
    @GIDFREE[1]<CR>
    command.
    Result:
    POSTED: Operation started. Indicates the
    Result:
    OK: Mail sent. TheCH2166 indicates
    CH2166 has received and begun executing
    that email message test has been sent
    the command.
    successful and all protocol and telephone
    Result:
    OK[1]: Session ID freed. The CH2166
    connections are released.
    indicates the Session Activity ID is freed.
    Enter:
    @IMENTER: <CR>
    EXAMPLE 8B. In this case the ISP telephone number
    Result:
    POSTED: Operation started.
    Indicates
    is specified as part of @QTM command. The email file
    the CH2166 has received and begun
    is sent with this Quick Command. The email file to be
    executing the command.
    sent is test and all configuration parameters except the
    Result:
    OK: Modem Operation Initiated. The
    telephone number are derived from the default iModem
    CH2166 indicates Analog Modem operation
    SMTP application profile.
    is successfully selected.
    Enter:
    AT<CR> Modem attention sequence.
    2007 Cermetek Microelectronics, Inc.
    Page 12
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    Enter:
    @QTM: FILE=test
    3. Input/Output interface circuitry.
    TO=staff@cermetek.com<CR>
    4. V.90 Internal modem.
    Result:
    POSTED: Indicates the CH2166 has
    5. Modem interface circuitry.
    received
    and
    begun
    executing
    the
    6. DAA (Data Access Arrangement) PSTN interface.
    command.
    7. Additional Flash RAM.
    Result:
    OK: Mail sent. The CH2166 indicates
    8. Additional RAM.
    that email message test has been sent
    successfully
    and
    all
    protocol
    and
    Figure 3 contains a block diagram illustrating the
    telephone connections are released.
    interconnectivity of the various functional blocks
    comprising the CH2166 iModem products.
    EXAMPLE 8C. In this case the user specifies the ISP
    telephone number as part of @ETXCONN command
    The iModem can perform the following Internet
    and the destination email address is specified with the
    connectivity operations:
    @ETXFILE command. The email file is sent with a
    1. Establish an IP/PPP/PSTN dialup connection with
    sequence Standard Commands. All configuration
    an ISP.
    parameters except the ISP telephone number and
    2. Authenticate with an ISP, and a POP3 or SMTP
    destination email address are derived from the default
    server.
    iModem SMTP application profile.
    3. Sends and Retrieve email in conjunction with
    SMTP and POP3 servers
    Enter:
    @GIDGET: TX_MAIL<CR>
    Result:
    POSTED: Operation started. Indicates
    IModem Internet operations are initiated and controlled
    the CH2166 has received and begun
    by a system level host processor. Refer to Table III for
    executing the command.
    a complete set of pin descriptions.
    Result:
    OK[1]: E-Mail transmission Session ID
    Allocated.
    The CH2166 indicates a
    When Internet Appliance operation is not selected, the
    Session Activity ID is allocated.
    iModem functions as a standard analog modem.
    Enter:
    @ETXCONN[1]:
    PHONE=9,123-
    4567<CR>
    µP Controller. The µP controller performs the required
    ®
    Result:
    POSTED[1]:
    Operation
    started.
    internet operations by interpreting each specific @
    Indicates the CH2166 has received and
    command and executing the appropriate internet
    begun executing the command.
    commands. The necessary internet protocol firmware
    is resident in flash RAM. The @ commands function
    ®
    Result:
    OK[1]: E-Mail connection established.
    The
    CH2166
    indicates
    that
    IP
    as an extension to the industry standard Hayes AT
    connectivity is established. This includes
    command set.
    establishment of a PSTN telephone
    connection.
    Internal Modem.
    The internal modem is used to
    Enter:
    @ETXFILE[1]: FILE=test
    establish a data connection with the ISP. The CH2166
    TO=staff@cermetek.com<CR>
    contains a V.90 internal modem. The internal modem
    Result:
    POSTED[1]:
    Operation
    started.
    can be controlled with Hayes AT commands and is
    Indicates the CH2166 has received and
    compatible with industry standard communication
    begun executing the command.
    software.
    Refer
    to
    Cermetek
    publication,
    AT
    Result:
    OK[1]: File sent. The CH2166 indicates
    Commands and S-Registers, for a more detailed
    the file has been successfully sent and
    discussion of the Hayes AT commands supported by
    the SMTP server connection is released.
    the iModem product family.
    Enter:
    @ETXDISC[1]:<CR>
    Result:
    POSTED[1]:
    Operation
    started.
    When operating in standard analog modem mode, the
    Indicates the CH2166 has received and
    maximum Data Terminal Equipment (DTE)/Host system
    begun executing the command.
    communication speed is established by the maximum
    Result:
    OK[1]: E-Mail connection released.
    speed available from the DTE/Host and is not limited by
    The CH2166 indicates all protocol and
    the iModem product.
    telephone connections are released.
    IMPORTANT NOTICE
    AS
    DELIVERED
    FROM
    THE
    FACTORY,
    all
    DESCRIPTION OF FUNCTIONAL BLOCKS AND
    command
    communication
    between
    the
    CH2166
    DISCUSSION OF BASIC OPERATIONS
    iModem and the host processor (DCE) is conducted
    Each CH2166 iModem product consists of the following
    over the serial interface at 19.2kbps (8-N-1).
    functional blocks:
    1. µP controller with Network Protocols and Flash
    ROM.
    2. Serial interface buffer.
    2007 Cermetek Microelectronics, Inc.
    Page 13
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    CH2166 DCE Speed. AS DELIVERED FROM THE
    Adequate separation and restraint of cables and
    FACTORY, the CH2166 iModem will only communicate
    cords must be provided.
    with the DCE at 19.2 kbps (8-N-1). However, the user
    may modify the DCE speed with the appropriate AT
    The circuitry from the iModem to the telephone
    commands.
    For a more detailed discussion of the
    interface must be provided in wiring that carries no
    commands, refer to Cermetek document, CH2166:
    other circuitry other than that specifically allowed
    Commands, Profiles and Examples.
    in the FCC rules (such as A and A1 leads).
    Serial Host Interface Buffer. The iModem utilizes a
    2.
    Connection to the PSTN line should be made
    serial V.24 EIA 232-E 5V interface to communicate with
    through an RJ-11C jack.
    the internal modem and to communicate with the
    internal µP. Signal levels are TTL rather than RS-232C
    3.
    PCB traces from the iModem’s RING and TIP pins
    level compatible, which allows direct connection of the
    to the RJ-11C jack must be 0.1 inch spacing or
    HS Modem to the host’s UART without level translating
    greater to one another and 0.2 inch spacing or
    circuitry. The CH2166 is controlled by sending serial
    greater to all other traces. The traces should have
    commands over TXD and by monitoring serial status
    a nominal width of 0.020 inches or greater.
    messages returned on RXD.
    4.
    The RING and TIP PCB traces should be as short
    Speaker Interface.
    The SPK output reflects the
    as possible and oriented to prevent coupling with
    receiver analog input and provides a signal that can be
    other high speed or high frequency signals present
    used to monitor call progress. The SPK signal can
    on the host circuit PCB.
    drive a 300-ohm load directly. Typically, the SPK signal
    is input into an audio power amplifier and the amplifier,
    5.
    No additional circuitry other than that shown in
    in turn, drives the speaker coil. Figure 5 indicates one
    Figure 3 may be connected between the iModem
    method of driving an external 8-ohm speaker.
    module and the RJ-11C jack.
    Doing so will
    invalidate the conveyed FCC approval.
    Telephone Line Interface or DAA.
    The iModem
    family includes a unique low distortion DAA designed
    6.
    The iModem, the RJ-11C jack, the interfacing
    for optimal performance over all PSTN line conditions
    circuitry and all PCB traces must be contained on
    thereby
    achieving
    the
    most
    reliable
    and
    best
    a PCB with a 94 V-0 flammability rating.
    performance PSTN connections.
    7.
    The supplied FCC registration label must be
    The CH2166 iModem is designed to meet North
    applied visibly on the outside of the product.
    American telephone standards as set by FCC Part 68
    (USA) and Industry Canada CS-03 Part I (Canada).
    8.
    The product’s User Manual must provide the user
    Each iModem product is shipped from the factory with
    with instructions for connection and use as
    an FCC label indicating the FCC registration number
    recommended in the FCC Registration Section
    and ringer equivalent.
    The PSTN line interface is
    below.
    UL1950 and CSA listed. Consequently, the iModem
    family of products satisfies U.S. and Canadian
    requirements, and will meet other international approval
    CANADIAN APPROVALS
    agency requirements that specify these levels of
    The iModem family is approvable for use by DOT to
    isolation.
    CSA CS-03 Part I. However, per Canadian procedures,
    approval can only be granted after the iModem has
    Pins 1 and 2 function as both input and output
    been installed into the end product.
    Typically,
    connections to the PSTN. To maximize field reliability
    Canadian approval is obtained by submitting the final
    in hostile environments, to ensure UL compliance, and
    end product to an independent test house or consultant
    also optionally for FCC part 15 compliance, these two
    for evaluation. The test house/consultant then forwards
    pins may be routed through an external network such
    the test results and applicable documents to the
    as that briefly described in figure 3 or as described in
    regulatory agency. Cermetek offers a list of consultants
    more detail in Cermetek Application Note # 126,
    to assist with this process.
    Supplemental PSTN Line Protection.
    iMODEM HANDLING AND ASSEMBLY
    PHONE LINE CONNECTION GUIDELINES
    RECOMMENDATIONS
    1.
    The iModem must be mounted in the final
    The iModem contains static-sensitive components and
    assembly such that it is isolated from exposure to
    should only be handled by personnel and in areas that
    any hazardous voltages within the assembly.
    are properly protected against static discharge.
    2007 Cermetek Microelectronics, Inc.
    Page 14
    Document No. 607-0023 Revision A5 (05/07)
    HIGH SPEED INTERNET MODEM FAMILY
    CH2166
    -
    Send/Retrieve Email. Unlimited Email, V.90
    There
    are
    two
    mounting
    techniques
    that
    are
    1. Direct soldering.
    recommended for physically connecting the iModem to
    2. Sockets.
    a PCB:
    Figure 4.
    HS Modem Family Application Diagram.
    2007 Cermetek Microelectronics, Inc.
    Page 15
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    Figure 5. Speaker Control Circuit.
    2007 Cermetek Microelectronics, Inc.
    Page 16
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    Table I. Summary of Available Commands By Category for CH2166.
    Command
    Command Description and Syntax
    Quick Commands
    @QST
    Purpose: To store an E-Mail message.
    Syntax:
    @QST: VOLATILE FILE=<FILE_NAME> TO=<RECIPIENT>
    FROM=<SOURCE> SUBJECT=<TITLE>
    @QTM
    Purpose: To send a stored E-Mail message.
    Syntax:
    @QTM: FILE=<FILE_NAME> INTERNAL PROFILE=<PROFILE_NAME>
    TO=<RECIPIENT> FROM=<SOURCE> SUBJECT=<TITLE>
    @QTX
    Purpose: To send a streaming E-Mail message.
    Syntax:
    @QTX: PROFILE=<PROFILE_NAME> TO=<RECIPIENT>
    FROM=<SOURCE> SUBJECT=<TITLE>
    @QRX
    Purpose: To retrieve an email message from a POP3 E-Mail server.
    Syntax:
    @QRX: MSG=<MSG_NO> PROFILE=<PROFILE_NAME>]
    CH2166 Management Commands
    @ETXC
    Purpose: To modify SMTP AP Profiles and to set the SMTP configuration parameters. This
    command may only be executed when no Session IDs have been allocated.
    All
    parameters are optional, only specified parameters will be changed all others will remain
    unchanged.
    Syntax:
    @ETXC: PROFILE=<SMTP_PROFILE>
    SERVER=<IPV4 or TEXT>-<SERVER ADDRESS>
    FROM=<EMAIL SOURCE ADDRESS> TO=<EMAIL DESTINATION ADRESS>,
    <ADDITIONAL EMAIL DESTINATION ADRESS(ES)>
    AUTH_METHOD=<AUTHENTICATION METHOD>
    ID=<USER ID> PW=<USER PASSWORD>
    @ERXC
    Purpose: To modify POP3 AP Profiles and to set the POP3 configuration parameters. This
    command may only be executed when no Session IDs have been allocated.
    All
    parameters are optional, only specified parameters will be changed all others will remain
    unchanged.
    Syntax:
    @ERXC: PROFILE=<POP3_PROFILE>
    SERVER=<IPV4 or TEXT>-<SERVER ADDRESS>
    ID=<USER ID> PWD=<USER PASSWORD>
    2007 Cermetek Microelectronics, Inc.
    Page 17
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    Table I. Summary of Available Commands By Category for CH2166 (continued).
    Command
    Command Description and Syntax
    @LINKC
    Purpose: To modify Link Profiles.
    Syntax:
    @LINKC: LEVEL=<PROFILE TYPE> PROFILE=<PROFILE NAME>
    PHONE=<LOCAL ACCESS POP NUMBER>
    RAW=<RAW LOGIN ID> RAW_PWD=<RAW LOGIN PASSSWORD>
    PPP_AUTH_METHOD=<PPP AUTHENTICATION PROTOCOL>
    PPP_ID=<PPP ID> PPP_SECRET=<PPP PASSWORD or CHAP SECRET>
    File Management Commands
    @ESCLOSE
    Purpose: To close a local file.
    Syntax:
    @ESCLOSE[ID]: FILE=<FNAME>
    @ESDELETE
    Purpose: To delete local files.
    Syntax:
    @ESDELETE[ID]: FILE=<FNAME> TYPE=<FTYPE>
    @ESLIST
    Purpose: List all local files by name and identify whether volatile or static (i.e., non-volatile).
    Syntax:
    @ESLIST[ID]: TYPE=<FTYPE> FORMAT=<DTYPE> FILE=<FNAME>
    @ESOPEN
    Purpose: To open a local file for either reading and/or writing.
    Syntax:
    @ESOPEN[ID]: FILE=<FNAME> <VOLATILE> MAX=<DMAX> <CREATE>
    FROM=<FDATA> TO=<TDATA> SUBJECT=<SDATA>
    @ESRDATA
    Purpose: To read data from an opened file.
    Syntax:
    @ESRDATA[ID]
    @ESWDATA
    Purpose: To write to an opened file.
    Syntax:
    @ESWDATA[ID]: <DATA>
    Socket Commands
    @ISOCKET
    Purpose: To allocate a socket.
    This usage is consistent with the Berkley Sockets Library
    definitions.
    Syntax:
    @ISOCKET[ID]: RXMAX=<RX_MS> TXMAX=<TX_MS>
    @ISTXD
    Purpose: To send data over a TCP connection.
    Syntax:
    @ISTXD[ID]<DLEN> :<DATA>
    @ISIPADD
    Purpose: To get the IP address of a host system using DNS.
    Syntax:
    @ISIPADD[ID] NAME=<SYMBOLIC SERVER NAME>:
    2007 Cermetek Microelectronics, Inc.
    Page 18
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    Table I. Summary of Available Commands By Category for CH2166 (continued).
    Command
    Command Description and Syntax
    @ISCLOSE
    Purpose: To release a TCP and/or socket connection.
    Syntax:
    @ISCLOSE[ID]: HOST=<NAME>
    @ISRXD
    Purpose: To receive data over a TCP connection.
    Syntax:
    @ISRXD[ID]: MAX=<DLEN>
    @ISHOSTIP
    Purpose: To get the TCP port and IP Address of the local iModem system.
    Syntax:
    @ISHOSTIP[ID]
    @ISHOST
    Purpose: To get local iModem system name.
    Syntax:
    @ISHOST[ID]
    @ISCONN
    Purpose: To establish a TCP connection.
    Syntax: @ISCONN[ID]: PROFILE=<PNAME> PORT=<DEST_PORT>
    SERVER=<IPV4 or TEXT>-<SERVER ADDRESS>
    @ISABORT
    Purpose: To force the release of a TCP connection and any underlying dialup IP link.
    Syntax:
    @ISABORT[ID]
    @ISIPCONN
    Purpose: To establish a dialup IP link.
    Syntax:
    @ISIPCONN[ID]: PROFILE=<PNAME>
    PHONE=<TNO> RAWLOG=<RDATA> LINKLOG=<LDATA>
    @ISIPREL
    Purpose: To release an IP link.
    Syntax:
    @ISIPREL[ID]
    @ISBIND
    Purpose: To bind local address to a socket.
    Syntax:
    @ISBIND[ID]: PORT=<SOURCE_PORT> ADD=<SOURCE_IP>
    CH2166 Management Commands
    @VMAGENT
    Purpose: To set the unit ID string. This command may only be executed when no Session IDs
    have been allocated.
    Syntax:
    @VMAGENT: SET=<UNIT_ID_STRING>
    @VMAGENT
    Purpose: To display the unit ID string. This command may only be executed when no Session IDs
    have been allocated.
    Syntax:
    @VMAGENT: GET
    2007 Cermetek Microelectronics, Inc.
    Page 19
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    Table I. Summary of Available Commands By Category for CH2166 (continued).
    Command
    Command Description and Syntax
    Session Management Commands
    @GIDGET
    Purpose: To allocate Session IDs for application session activities and instances.
    Syntax:
    @GIDGET: <APPLICATION_ID>
    @GIDFREE
    Purpose: To release a Session ID.
    Syntax:
    @GIDFREE[ID]
    EMAIL Transmission Commands
    @ETXFILE
    Purpose: To send a stored E-Mail file as an email message.
    Syntax:
    @ETXFILE[ID]: FILE=<FNAME> <INTERNAL> PROFILE=<PNAME>
    SUBJECT=<SDATA> FROM=<SOURCE> TO=<T0LIST>
    @ETXDSTART Purpose: To begin streaming E-Mail transmission.
    Syntax:
    @ETXDSTART[ID]: PROFILE=<PNAME> SUBJECT=<SDATA> FROM=<SOURCE>
    TO=<T0LIST>
    @ETXDEND
    Purpose: To end streaming E-Mail transmission.
    Syntax:
    @ETXDEND[ID]
    @ETXDATA
    Purpose: To send streaming E-Mail data.
    Syntax:
    @ETXDATA[ID]: User supplied ASCII data
    @ETXCONN
    Purpose: To establish an IP Link connection for E-Mail transmission.
    Syntax:
    @ETXCONN[ID]:
    PROFILE=<PNAME>
    SERVER=<IADD>
    PORT=<SPORT>
    AUTH_METHOD=<SAUTH>
    SERVLOG=<SDATA>
    DIALUP=<TRUE/FALSE>
    PHONE=<TNO> RAWLOG=<RDATA> LINKLOG=<LDATA>
    @ETXQCONN
    Purpose: To establish an E-Mail server connection with preconfigured address data.
    Syntax:
    @ETXQCONN[ID]: PROFILE=<PNAME>
    @ETXDISC
    Purpose: To Release an E-Mail IP Link.
    Syntax:
    @ETXDISC[ID]
    2007 Cermetek Microelectronics, Inc.
    Page 20
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    Table I. Summary of Available Commands By Category for CH2166 (continued).
    Command
    Command Description and Syntax
    POP3 and Email Retrieval Commands
    @ERXQUERY
    Purpose: Query POP3 server about message attributes.
    Syntax: @ERXQUERY[ID]: LIST=<MLIST>FORMAT=<FTYPE>
    @ERXLIST
    Purpose: List E-Mail messages on POP3 server.
    Syntax: @ERXLIST[ID]: FORMAT=<FTYPE>
    @ERXDATA
    Purpose: To retrieve an E-Mail message data.
    Syntax: @ERXDATA[ID]
    @ERXMAIL
    Purpose: Retrieval an E-Mail message by message number.
    Syntax: @ERXMAIL[ID]: MSG=<MSG_NO> MAX=<NBYTES>
    @ERXDELETE Purpose: Delete an E-Mail message.
    Syntax: @ERXDELETE[ID]: LIST=<MLIST>
    @ERXCONN
    Purpose: To establish an E-Mail POP3 server connection.
    Syntax: @ERXCONN[ID]: PROFILE=<PNAME> SERVER=<IADD> PORT=<SPORT>
    SERVLOG=<SDATA> DIALUP=<TRUE/FALSE> PHONE=<TNO>
    RAWLOG=<RDATA> LINKLOG=<LDATA>
    @ERXQCONN
    Purpose: To establish an E-Mail POP3 server connection with preconfigured address data.
    Syntax: @ERXQCONN[ID]: PROFILE=<PNAME>
    @ERXDISC
    Purpose: To release an E-Mail POP3 server connection.
    Syntax: @ERXDISC[ID]
    iModem/Modem Mode Commands
    @IMENTER
    Purpose: To Enter iModem/Modem mode. No session ID required
    Syntax:
    @IMENTER
    @IMEXIT
    Purpose: To Exit iModem/Modem mode. CH2166 MUST be in Command Mode to execute this
    command.
    Syntax:
    @IMEXIT
    2007 Cermetek Microelectronics, Inc.
    Page 21
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    Table II. Summary of Available Application and Link Profiles.
    Profile Name
    Description and Comments
    smtp.imodem.default
    Purpose: Default Application Profile for Cermetek ISP SMTP server.
    pop3.imodem.default
    Purpose: Default Application Profile for Cermetek ISP POP3 server.
    link.imodem.default
    Purpose: Default Link Profile for Cermetek Dial-up POP connection.
    smtp.att
    Purpose: Generic Application Profile for AT&T ISP SMTP server.
    pop3.att
    Purpose: Generic Application Profile for AT&T ISP POP3 server.
    link.att
    Purpose: Generic Link Profile for AT&T Dial-up POP connection.
    smtp.sbc
    Purpose: Generic Application Profile for SBC ISP SMTP server.
    pop3.sbc
    Purpose: Generic Application Profile for SBC ISP POP3 server.
    link.sbc
    Purpose: Generic Link Profile for SBC Dial-up POP connection.
    smtp.lmi
    Purpose: Generic Application Profile for LMI ISP SMTP server.
    pop3.lmi
    Purpose: Generic Application Profile for LMI ISP POP3 server.
    link.lmi
    Purpose: Generic Link Profile for LMI Dial-up POP connection.
    smtp.earthlink
    Purpose: Generic Application Profile for Earthlink ISP SMTP server.
    pop3.earthlink
    Purpose: Generic Application Profile for Earthlink ISP POP3 server.
    link.earthlink
    Purpose: Generic Link Profile for Earthlink Dial-up POP connection.
    smtp.uunet
    Purpose: Generic Application Profile for UUNET ISP SMTP server.
    pop3.uunet
    Purpose: Generic Application Profile for UUNET ISP POP3 server.
    link.uunet
    Purpose: Generic Link Profile for UUNET Dial-up POP connection.
    iModem family.
    If repairs are necessary after
    Direct Soldering.
    The iModem may be wave
    installation of the iModem and the end product has
    soldered onto a circuit card. All iModem products are
    been delivered to the end user, the end product must
    sealed and will not be harmed by industry standard
    be returned to the end product supplier where the
    wave soldering processes.
    iModem can be removed and then forwarded to
    Cermetek for repair.
    The following notice is
    Socketing.
    The socket approach to mounting
    recommended and should be included in the end
    eliminates cleaning and desoldering concerns. When
    product’s user manual.
    the socket is used, it must make a solid connection to
    all pins.
    Failure to do so will cause unreliable or
    intermittent operation. Also, steps should be taken to
    FOR YOUR USER’S MANUAL
    assure that the module remains tightly seated in the
    The Part 68 rules require the following (or equivalent)
    socket after the end product is shipped. Cermetek
    be provided to the end user of the equipment
    recommends the 50 pin strip socket CES-150-01-T-S
    containing an iModem device.
    by Samtec. Refer to Application Note# 130, Summary
    of Recommend Supplies, for a list of supplies and
    Type of Service: The (insert end product name) is
    associated contact information.
    designed to be used on standard device telephone
    lines. It connects to the telephone line by means of a
    standard jack called the USOC RJ-11C (or USOC
    FCC REGISTRATION
    RJ45S). Connection to telephone-company-provided
    All CH2166 iModem products are registered with the
    coin service (central office implemented systems) is
    FCC under Part 68. To maintain the validity of the
    prohibited. Connection to party lines service is subject
    registration, notice of the restrictions the FCC places
    to state tariffs.
    on the iModem and its use must be served to the end
    user of the product containing the iModem.
    Changes in Attestation Procedure for Plugs and
    Jacks: (Name of applicant) attests that the network
    In addition to restriction notification, the FCC requires
    interface plugs or jacks used on this equipment comply
    that Cermetek make all repairs to all products in the
    with and will continue to comply with the mechanical
    2007 Cermetek Microelectronics, Inc.
    Page 22
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    requirements specified in Part 68, Sub-part F,
    Serial port data rate auto baud enabled
    specifically the dimensions, tolerances and metallic
    Bell 212A operation at 1200bps
    plating requirements.
    The compliance of these
    Parity – none
    connectors will be assured by purchase specifications
    Auto answer disabled
    and incoming inspection.
    Documentation of such
    Command echo ON
    specifications and/or inspections will be provided by
    All result codes enabled – except \REL codes
    the FCC within 30 days of their request for the same.
    Wait for dial tone before dialing – 2 seconds
    Dials with touch-tone (T)
    Telephone Company Procedure: The goal of the
    Detects busy signal (ATX4)
    telephone company is to provide the best service it
    Full word result codes – non-extended
    can.
    In order to do this, it may occasionally be
    Pulse dial make/break ratio = 39/61-10pps
    necessary for the telephone company to make
    Test timer set to 0 seconds, test modes disabled
    changes to their equipment, operations or procedures.
    Inactivity timer set to 0 minutes
    If these changes might affect service provided to the
    CTS always active
    users or the operation of the user’s equipment, the
    DSR is ignored
    telephone company will give the user notice, in writing,
    DCD is ignored
    to allow the users to make any changes necessary to
    RTS to CTS delay - .01 seconds
    maintain uninterrupted service.
    DTR always active – hang up after transition
    In certain circumstances, it may be necessary for the
    Long space disconnect disabled
    telephone company to request information from the
    Speaker enabled but off when receiving carrier
    users concerning the equipment which the user has
    Speaker volume set to low
    connected to the telephone line. Upon request of the
    Local modem will not grant RDL request from remote
    telephone company, provide the FCC registration
    modem
    number and the ringer equivalence number (REN);
    Guard tones disabled
    both of these items are listed on the equipment label.
    Minimum DTR pulse width = .05 seconds
    The sum of all of the REN’s on the user’s telephone
    Ring count – 00
    lines should be less than five in order to assure proper
    Escape code character = 43 (+)
    service from the telephone company. In some cases,
    Flash to on hook = 70 msec
    a sum of five may not be useable on a given line.
    Auto speed detection enabled
    Consult your telephone provider.
    DTE connect speed, connect messages
    Back space character = 08 (BS) Carriage return
    If Problems Arise: If any of the user’s telephone
    character = 13 (CR)
    equipment is not operating properly, the user should
    Line feed Character = 10 (LF)
    immediately remove it from the user telephone line, as
    Duration of wait for dial tone =2 seconds
    it may cause harm to the telephone network. If the
    Duration of wait for carrier after dialing = 50 seconds
    telephone company notes a problem, they may
    Carrier detect response time = 0.6 seconds
    temporarily discontinue service. When practical, they
    Escape code guard time = 1 second
    will notify the user in advance of this disconnection. If
    Length of use after comma = 2.0 seconds
    advance notice is not feasible, the user will be notified
    Last carrier to hang up delay = 1.4 seconds
    as soon as possible.
    DTMF interdigit delay = .095 seconds
    Auto sync address or address detection =0
    When the user is notified, the user will be given the
    Connection detected at DTE – Highest speed
    opportunity to correct the problem and informed of
    38,400kbps
    their right to file a complaint with the FCC. Contact the
    Auto retrain enabled – 30 seconds attempts
    local telephone service provider if any questions arise
    MNP error correction mode can be negotiated (&Q5)
    concerning the telephone service.
    MNP – non-extended service selected
    In the event repairs are ever needed on the (insert
    MNP error correction block size is 128 characters
    your product name), they should be performed by
    selected
    (insert your company name), or an authorized
    Data compression – negotiation enabled
    representative or (insert your company name). For
    Transmit break length is 0.3 seconds
    information contact: (insert your company address).
    All breaks are transmitted in sequence with data
    Serial port flow control enabled = RTS/CTS
    XON/XOFF flow control characters selected
    DEFAULT STATUS, PERFORMANCE AND
    SPECSIFICATIONS
    Prior to delivery, Cermetek installs into each CH2166
    iModem the following default Configuration Profile:
    Default Connect Speeds (DCE) is 19,200bps (8-N-1)
    2007 Cermetek Microelectronics, Inc.
    Page 23
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    Table III. CH2166 iModem Family Pin Description.
    PIN
    NAME
    I/O
    FUNCTION
    Directly connects to the telephone line’s Ring lead through a user supplied RJ-11C jack.
    1
    RING
    I/O
    Directly connects to the telephone line’s TIP lead through a user supplied RJ-11C jack.
    2
    TIP
    I/O
    NO CONNECTION.
    3
    NC
    ---
    NO CONNECTION.
    4
    NC
    ---
    SPEAKER. Audio output for speaker. See speaker control diagram.
    5
    SPK
    O
    NO CONNECTION.
    6
    NC
    ---
    NO CONNECTION.
    7
    NC
    ---
    NO CONNECTION.
    8
    NC
    ---
    NO CONNECTION.
    9
    NC
    ---
    TRANSMIT DATA. Serial transmit data input. Marking, or a binary 1 condition is indicated
    10
    TXD
    I
    by a HIGH.
    RECEIVE DATA. Serial Receive data output. Received marking or a binary 1 condition is
    11
    RXD
    O
    indicated by a HIGH.
    NO CONNECTION
    12
    NC
    ---
    DATA TERMINAL READY INPUT. Active LOW. Switching off DTR can either return
    13
    DTR
    I
    modem to command state, disconnect phone call, or reset modem. DTR should be set
    LOW when not in use.
    DATA SET READY. LOW indicates handshaking with a remote modem in progress,
    14
    DSR
    O
    and/or the data carrier of a remote modem has been detected.
    RING INDICATION. This signal follows the frequency of the ringing signal and is normally
    15
    RI
    O
    about 20 to 40 Hz for 2 seconds on with 4 second off.
    CLEAR-TO-SEND. Output always LOW. Reserved for flow controls with FAX option. Not
    16
    CTS
    O
    active, let float.
    DATA CARRIER DETECT. LOW indicates a data carrier from a remote modem has been
    17
    DCD
    O
    detected. Must enable with AT&C1 Hayes command.
    NO CONNECTION
    18
    NC
    ---
    DC SUPPLY. 5V ± 5% required.
    19
    VCC
    ---
    GROUND. Note: Noise should be less than 25mV peak to peak.
    20
    GND
    ---
    RESET. Active HIGH. This input must be asserted HIGH for at least 10ms to reset the
    21
    RST
    I
    modem. RESET is then returned to LOW for normal operation. If no system reset is
    available, let this pin float to enable internal reset.
    REQUEST TO SEND. Active Low. Used for flow control. Should be tied Low when using
    22
    RTS
    I
    SEND pin and when using @T commands for CH2160 only.
    2007 Cermetek Microelectronics, Inc.
    Page 24
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    Figure 6. PSTN Line Interface for all iNet Appliance Products.
    1. Currently Limiting PSTN Protection Line
    2. Over Voltage and Lightning Protection.
    Device.
    A. Surge Protection is provided by internal
    Current limiting devices are mandatory to meet
    circuitry (see Figure 3). No additional external
    UL safety standards. To maintain conveyed FCC
    components
    are
    required
    to
    maintain
    Part 68 approval, the current limiting components
    conveyed FCC Part 68 approval.
    identified as F1 and F2 in dashed Box #1 must
    also survive FCC Part 68 surge testing. Refer to
    B. In most environments, 2 terminal surge
    Cermetek Application Note #126, Supplemental
    suppressors are adequate.
    For severe
    PSTN Line Protection, for more details. Refer to
    environments, use an external 3 terminal
    Application Note # 130, Summary of Recommend
    device with an earth ground.
    Suppliers, for a list of suppliers and associated
    part numbers.
    3. EMI/RFI Suppression.
    A. A PTC (rated at 0.15 amps) is preferred
    No external EMI/RFI noise suppression circuitry is
    because it resets automatically upon removal
    required to maintain conveyed FCC Part 68
    of the current flow. Fuse devices are also
    approval.
    However, additional suppression, if
    acceptable. Refer to Application Note #130
    required for other reasons, may be added as
    for a complete list of recommended vendors
    described below in Sections 3A-3B without
    and associated part numbers.
    adversely affecting FCC Part 68 approval.
    B. Resistors (10 Ω carbon film or 1/8 watt
    A. To provide adequate EMI/RFI suppression,
    minimum) may be used in Canada, as
    the capacitor/inductor network contained in
    Canada has no requirements that PSTN
    dashed Box #3 should be located as close to
    equipment be operational after a Type B
    the RJ-11C jack as possible.
    Further, this
    surge test.
    network should be provided with an excellent
    C. Although Industry Canada CS-03 Part 1
    ground path to the chassis.
    (Canada) follows the requirements of FCC
    B. Capacitors C1 and C2 should not exceed
    Part
    68
    (USA),
    Cermetek
    recommends
    0.005 µ f. They must have a rating of 1.5KV
    contacting DOT (Canada) and/or a certified
    and typically are 0.001 µ f ± 20%. Inductors L1
    independent lab to verify compliance.
    For
    and L2 may be either individual inductors or a
    Canada, use either 10 Ω resistors (carbon film
    dual inductor. Refer to Application Note #130
    or SMD parts 1/8 watt minimum) as described
    for a complete list of recommended vendors
    in paragraph B above.
    and associated part numbers.
    For UL
    applications, choose capacitors and inductors
    that are UL 1950 listed. The actual values of
    the components used may vary depending on
    the end product design.
    2007 Cermetek Microelectronics, Inc.
    Page 25
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    Table IV. Analog Characteristics.
    NAME
    TYPE
    CHARACTERISTICS
    VALUE
    SPK
    O(DF)
    Minimum Load
    300ohm
    Maximum Capacitive Load
    0.01µf
    Output Impedance
    10ohm
    Output Voltage
    2.5 ± 1.6V
    D.C. Offset
    <20mV
    Table V. Summary CH2166 iModem Family of Products.
    Model
    Summary of Features
    Operating Temperature
    CH2166
    Send and Retrieve Streaming Email. Email Send Control Pin
    0°C to 70°C
    Full Function, V.90, 56Kbps, FCC Part 68 Approved, UL 1950 listed.
    Table VI. CH2166 iModem Electrical Specifications.
    Symbol
    Characteristic
    Min.
    Typ.
    Max.
    Units
    V CC
    Positive Supply Voltage
    4.5
    5.0
    5.5
    V
    I CC Off Hook
    Nominal Operating Current @
    300.0
    mA
    V CC = 5.5V when modem is Off Hook
    V IH
    High Level Input Voltage @ 5.0V
    2.0
    3.5
    V
    V IL
    Low Level Input Voltage @ 5.0V
    1.0
    2.2
    V
    V IH
    High Level Input Voltage (Excluding IN1, IN2,
    2.0
    3.5
    V
    SEND) @ 5.0V
    V IL
    Low Level Input Voltage (Excluding IN1, IN2,
    0.8
    V
    SEND) @ 5.0V
    VT+
    Positive Hysteresis Threshold for RESET Pin
    2.9
    V
    VT-
    Negative Hysteresis Threshold for RESET Pin
    1.98
    V
    V OH
    High Level Output (Including SENT) with I OH =
    2.4
    V
    0.5mA
    V OL
    Low Level Output (Including SENT) with I Ol =
    0.6
    V
    1.6mA
    I IN
    Input Leakage Current (TXD, DTR, RTS)
    100
    uA
    I IL
    Input Current (RST, IN1, IN2, SEND)
    1.0
    uA
    C P
    Capacitive Load (TXD, DTR, RTS)
    10
    pF
    Capacitive Load (RTS)
    8
    pF
    2007 Cermetek Microelectronics, Inc.
    Page 26
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    Table VII. CH2166 iModem Electrical Specifications.
    Parameter
    Minimum
    Typical
    Maximum
    Units
    Comments
    Off Hook Impedance
    20
    Mohm
    Trans Hybrid Loss
    25
    dB
    600 Ohm, RXA, TXA
    Ring Voltage Loop
    15
    V PP
    On 48VDC line voltage
    for sustained periods
    Line Loop Current - (Off
    20
    60
    mA
    Hook)
    Return Loss @ 1000 Hz
    15
    dB
    600 Ohm
    Ring Frequencies
    20
    40
    60
    Hz
    Receiver Insertion Gain
    -0.5
    0.0
    +0.5
    dB
    Transmit Power
    -9.5
    dBm
    600 Ohm- Data Mode
    First Character After Reset
    25.0
    sec
    Delay
    See Note 1
    Inter Character Delay
    20
    50
    msec
    Between all command
    characters
    Command Delay
    100
    200
    msec
    Between all AT
    commands
    Minimum Reset Pulse
    1
    µsec
    If user supplied
    Note: 1. All CH2166 iModem devices re-load operating firmware upon reset and then perform an internal
    self-check. The CH2166 will not respond to commands issued during this sequence.
    Figure 7.
    Physical Dimensions and Pin Functions for CH2166 Product Family.
    2007 Cermetek Microelectronics, Inc.
    Page 27
    Document No. 607-0023 Revision A5 (05/07)
    Cermetek Microelectronics, Inc.
    CH2166 High Speed Internet Modem Family
    Cermetek reserves the right to make changes in specifications at any time and without notice. The information furnished by
    Cermetek in this publication is believed to be accurate and reliable. However, Cermetek assumes no responsibility for its use, or for
    any infringements of patents or other rights of third parties resulting from its use. No license is granted under any patents or patent
    rights of Cermetek.
    Cermetek provides the user with a FCC (USA) and IC (Canada) Approved or Approvable device. However, Cermetek does not
    have influence over nor knowledge of the specific user application environment. Therefore, for FCC and IC Approved or Approvable
    devices, the user assumes all risk for maintaining compliance to registration.
    Printed in U.S.A
    1390 BORREGAS AVENUE | SUNNYVALE CA 94089 | LOCAL: 408-752-5000 | TOLL FREE: 1-800-882-6271 | FAX: 408-752-5004
    CERMETEK WEB SITE: http://www.cermetek.com | EMAIL: sales@cermetek.com
    2007 Cermetek Microelectronics, Inc.
    Page 28
    Document No. 607-0023 Revision A5 (05/07)