AT command in c#

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • imStudent
    New Member
    • May 2011
    • 4

    AT command in c#

    hi
    i want to receive a call on computer i m using nokia 7610 as GSM modem. in hyper terminal i have received a call using ATA command. now a want to do this in c#. i dont knw how to use AT command in c#.
    Code:
     serialPort1.PortName = "COM4";
                serialPort1.BaudRate = 115200;
                serialPort1.DataBits = 8;
                serialPort1.Parity = Parity.None;
                serialPort1.StopBits = StopBits.One;
                serialPort1.Open();
    i have used the ATA command on btn clk just 4 chaking but it didnt work.
    Code:
    serialPort1.Write("ATA");
    i have done this no idea what to do ferther to receive a call plz help me.
  • Subin Ninan
    New Member
    • Sep 2010
    • 91

    #2
    AT command is used to add/remove scheduled tasks.

    Comment

    • imStudent
      New Member
      • May 2011
      • 4

      #3
      sory could not get your point?
      what u want to say please explain.

      Comment

      • Banfa
        Recognized Expert Expert
        • Feb 2006
        • 9067

        #4
        You probably ought to be reading from the serial port in order to see when the phone is ringing. Normally a modem sends "RING" when there is an incoming call. You should look for that and send the "ATA" in response.

        It might be worth checking your program is talking to the phone correctly by just sending "AT", the phone should reply with "OK".

        Being familiar with the basic AT command set would probably be a good idea too

        Comment

        Working...