© 2000 Cermetek Microelectronics, Inc.
Page 7 Document No. 607-0017 Rev. B (06/00)
AT COMMAND APPLICATIONS WHEN OPERATING THE
iModem® IN THE MODEM STATE.
In the last example, the entire pre-programmed internet configu-
ration profile is over ridden.
Dialing A Phone Number.
The Dial command takes the form Dn, where n is a string of
characters. In the simplest form, n will be only the digits of the
phone number to be dialed.
Example:
Dial Number.
Enter:
AT D1234567
In response to this command, the iModem® dials the telephone
number “123-4567” and then waits for a carrier from the distant
modem. If no carrier is detected within a given time (the default
time is 30 seconds), the iModem® automatically releases the line
and sends a NO CARRIER result code.
The default email subject title is:
Cermetek Microelectronics iModem Email
Further, Input #1 and Input #2 status will also be transmitted. For
CH2156, CH2158/9 and CH2160, the default send email will be of
the form:
Remote Product Message
Input 1
High (or low)
Input 2
High (or low)
For CH2157, which contains an onboard temperature sensor, the
default send email is of the form:
Remote Product Message
Temperature xx
(Reported in Fahrenheit)
Input
High (or low)
To change the default internet configuration profile, refer to the
PROGRAMMING THE iMODEM® section of this data sheet.
Fully Autonomous Control.
If email is to be sent by activating the SEND EMAIL CONTROL
PIN (PIN#6), the iModem® will utilize the pre-programmed internet
configuration profile.
The iModem® is designed to allow the user to personalize the
default internet configuration profile by either using the PSTN to
dial up the iModem® or by using the RS232 host serial interface.
Once reconfigured, simply activating the SEND EMAIL CONTROL
PIN will automatically cause an email to be transmitted.
In a typical fully autonomous application, the user installs “as
received” the iModem® in the desired remote environment and
connects only the incoming PSTN to the systems jack.
Once the PSTN is connected, the user accesses the iModem®
and then re-configures the iModem® in situ. Upon completion of
the re-configuration activity, the iModem® can now be directed to
send emails from the remote environment by activating the SEND
EMAIL CONTROL pin.
Semi-Autonomous and Complete Host Intervention Control.
This method of control requires all commands to be issued in
serial fashion. The first example assumes that the pre-pro-
grammed ISP and email address is to be used.
A common host control application involves using the iModem®
pre-programmed internet configuration profile except for the local
access ISP phone number.
Example:
Initiate dialup using a local ISP access
phone number different from the pre-
programmed number. Then complete
email transmission using the pre-
programmed ISP account, ID password
and email destination address.
Enter:
@TN1234567 New Phone Number
Enter:
@TD Initiate dialup and send email
In a slightly more complex example, the host controller over rides
both the ISP access phone number and the destination email
address. The email is then sent using the @TD command.
Example:
Send email Overriding the pre-
programmed ISP local access phone
number and default pre-programmed
destination email address. For all other
parameters, use pre-programmed
information internet configuration
profile.
Enter:
@TSeeeeee
Where eeeeeee is
the email subject
(limited to 15 ASCII
characters)
Enter:
@TD
Dial up ISP and
complete email
transmission using
above data for email
accounts.
iNet AT® commands must be sent from the Host controller at
57600bps, N81 (no parity, 8 databits, 1 stop bit).
Note that the ISP Mail Server Address must be specified in
Hexadecimal. Refer to Cermetek Application Note #147, “Proce-
dure to convert user account address to Hexadecimal”.
Example:
Over ride default pre-programmed ISP
account ID & Password, email destina
tion address, local access phone
number, send email.
Enter:
@TLaaaaaa
Where aaaaaa is ISP
account ID
Enter:
@TPbbbbbb
Where bbbbbb is ISP
account Password
Enter:
@TOcccc
Where cccc is ISP
mail server address
Enter:
@TNdddddd
Where dddddd is the
local ISP access
phone number
Enter:
@TNaaaaaaa
Where aaaaaaa is
the ISP local access
phone number
Enter:
@TObbbbbb
Where bbbbbb is the
email destination
address
Enter:
@TD
Dial-up ISP and send
email.
Changing the Default Internet Configuration Profile.
When various iNet AT® commands that modify internet configura-
tion parameters are issued to the iModem®, the changes invoked
by these commands are only temporary. Once power to the
iModem® is removed, the changes are lost. The default configu-
ration profile will not be lost when power is removed from the
iModem®.