×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jan 2006
    Posts
    11

    Sending AT commands in C#

    Hi there,,

    1- i am working in a project to send SMS messages from a pc to a mobile phone automatically using C#..

    if any one worked on similar projects -even if it is not on C#- please ket me know so that i can ask some questions about this,,

    2- Why sometimes the GSM modem gives the OK responce after you send the Message but it doesnt send it.. what does that mean,,any ideas?

  2. #2
    Registered User
    Join Date
    Jul 2008
    Posts
    3

    Re: Sending AT commands in C#

    hi can u send me how to send AT commands to Nokia Mobile phone using C# as programming language..


    thanks in advance

    Pankaj Motiyar
    Software Engineer
    pankajmotiyar@aol.com

  3. #3
    Registered User
    Join Date
    Jan 2009
    Posts
    1

    Re: Sending AT commands in C#

    There are few steps you need to perform in order to send AT commands to mobile using C#
    1> configure and open the serial port using using System.IO.Ports class
    - Serialport.open() and Serialport.close() API are available for doing the same.

    2>Write the AT command to opened COM port in step 1.
    Serialport.Writeline() API can be used for same.

    Example code is pasted for doing same:

    private SerialPort portConfig = new SerialPort();

    // configure port
    portConfig.PortName = COM4 ;
    .....
    .....
    //open the port
    portConfig.Open();

    // send AT command to dial a number
    portConfig.WriteLine("ATD" + mobileNumber + ";");

  4. #4
    Registered User
    Join Date
    Oct 2009
    Posts
    1

    Re: Sending AT commands in C#

    I need help on this. I am working on the same project anybody has already done this project.

    Kindly response ASAP.

  5. #5
    Registered User
    Join Date
    Sep 2009
    Posts
    6

    Re: Sending AT commands in C#

    I am working on a similar project too (in C), although I am having problems with PDU mode messaging but I may be able to help you. So, what is your problem?

  6. #6
    Registered User
    Join Date
    Jan 2010
    Posts
    1

    Question Re: Sending AT commands in C#

    I am working on the similar problem is how do get a response back from the phone
    Thank You

Similar Threads

  1. Trouble sending SMS using AT commands on a 6015
    By samcannell in forum General Messaging
    Replies: 11
    Last Post: 2007-07-17, 15:42
  2. Problems sending SMS with AT commands
    By bow24el in forum General Messaging
    Replies: 4
    Last Post: 2007-02-15, 04:46
  3. How about sending MMS via AT commands via Dx11 ?
    By badger1 in forum General Messaging
    Replies: 1
    Last Post: 2003-03-26, 01:36
  4. AT commands sending single SMS with 6210 or 6150 on an uP
    By stijnos in forum General Messaging
    Replies: 3
    Last Post: 2002-11-14, 13:53
  5. Sending AT Commands to 9210
    By Nokia_Archive in forum Symbian
    Replies: 1
    Last Post: 2002-06-02, 04:27

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×