Re: How to control SIEMENS C35 using microcontroller 8051

From: CBFalconer (cbfalconer_at_yahoo.com)
Date: 01/09/04


Date: Fri, 09 Jan 2004 16:47:54 GMT

Lawrence wrote:
> "Mark A. Odell" <nospam@embeddedfw.com> wrote in message
> > llllgh@yahoo.com (Lawrence) wrote in
> >
> > > Hi, i'm doing a final year project with tittle remote process
> > > control control using a mobile phone. but i cant communicate
> > > the microcontroller 8051 with SIEMENC C35 using a data cable.
> > > How to using the AT Command? It's only for C language or can
> > > use in microcontroller assemble language?
> >
> > AT commands are from the old Hayes Modem company. The command
> > set is simple ASCII. Once you get the baud rate and physical
> > layer drivers correct for the C35 phone you will be able to
> > send it AT commands in C, Forth, Pascal, BASIC, or assembler.
>
> how do i to initial the modem in the data cable? does it require
> any delay when sending data?

An "AT" controlled modem is basically in one of two states: active
or quiescent. In the quiescent state it receives commands that
start with at and end with <cr>. The AT portion serves to set the
communication speed, and the modem adapts accordingly.

It usually gets out of the quiescent state to the active state via
the ATA or ATD commands. In the active state it first
synchronizes with the remote modem, and then becomes transparent
to data. ATA causes it to answer an incoming call, and
ATD<number> causes it to dial and originate a call.

In the process of switching states (or processing commands) it
normally sends back responses, such as OK, or possibly just a
number.

So you don't really have to time most things. Their is more than
this, of course, such as response to DTR line, and use of CD line,
etc. IIRC the modem will usually give help when sent AT?<cr>.
Simple, portable, and effective. That is why Hayes was king of
the modem market for a long time and the protocol became virtually
universal.

-- 
Chuck F (cbfalconer@yahoo.com) (cbfalconer@worldnet.att.net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!


Relevant Pages

  • Re: minicom serial output
    ... >doesn't react and a multimeter accross the serial port shows that no data ... >initialisation / hangup commands. ... I already changed the modem initialisation string to ... present minicom configuration, go back to the default configuration ...
    (comp.os.linux.hardware)
  • Re: minicom serial output
    ... >>doesn't react and a multimeter accross the serial port shows that no data ... I already changed the modem initialisation string to ... >>'D' (one of the commands recognised by my device) and I can get my device ... > present minicom configuration, go back to the default configuration ...
    (comp.os.linux.hardware)
  • Re: recording voice through a independent TSP
    ... I have no experience in developing a wav driver. ... > so where will be my translations from TAPI commands to the PBX ... Unimodem can translate between TAPI and AT modem commands. ...
    (microsoft.public.win32.programmer.tapi)
  • Re: minicom serial output
    ... doesn't react and a multimeter accross the serial port shows that no data ... It also reacts to the modem ... 'D' (one of the commands recognised by my device) and I can get my device ... If you are changing the settings each time, ...
    (comp.os.linux.hardware)
  • Re: TAPI on PocketPC problem
    ... I mean I want to control this modem from ... Do you want to send AT commands via TAPI? ... You can send call related AT commands in LINEBEARERMODE_PASSTHROUGH. ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)