Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7792811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T22:18:03+00:00 2026-06-01T22:18:03+00:00

I am sending sms to recipients using following code private void button1_Click(object sender, EventArgs

  • 0

I am sending sms to recipients using following code

private void button1_Click(object sender, EventArgs e)
    {
        var com5 = new SerialPort("COM5");
        if (!com5.IsOpen) com5.Open();
        com5.WriteLine("AT" + Environment.NewLine);
        com5.WriteLine("AT+CMGF=1" + Environment.NewLine);
        com5.WriteLine("AT+CMGS=\"" + 03132449297 + "\"" + Environment.NewLine);
        com5.WriteLine("Kashif bhai aap mujhsay kiya kehna chah rahay hen?" + (char)26);            
        com5.Close();                                  

    }

my problem is: If i use a single sim mobile usb modem to send sms using above mentioned coding it works fine. but when i use a dual sim mobile usb modem I am not able to send sms using above mentioned coding. I have tried nokia 200 and samsung gt-c3312

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T22:18:05+00:00Added an answer on June 1, 2026 at 10:18 pm

    did you try AT+CSIMSEL=1 ?

    see 11.4 AT+CSIMSEL Switch between two SIM card in this document:

    http://www.scribd.com/doc/63648056/186/AT-CSIMSEL-Switch-between-two-SIM-card

    The command is used to select external or embedded SIM card. NOTE

    1. Embedded SIM card supported by customization. Customer should provide informationwritten into USIM chipset.

    2. The command is disabled if the embedded SIM card isn’t exist, i.e. standard hardwareversion.

    Defined values

    1 – external SIM card

    2 – embedded SIM card

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

sending mail along with embedded image using asp.net I have already used following but
I have strange peoblems with sending-receiving sms messages in Android. I am using standart
I following this article for sending SMS it is a winform application.. I have
I ve developed a c# winforms application for sending sms by using this article
In my web applicatin i am using api for sending sms, ya it is
I'm trying to write a simple module that will enable sending SMS. I using
javax.comm.NoSuchPortException at javax.comm.CommPortIdentifier.getPortIdentifier sending sms(text) from java code to mobile phone in windows i
I'm having trouble with an SMS message I am sending using a provider called
Please guide me with sample code for sending sms through website. How to include
If I'm sending an SMS from my app using SmsManager and the SMS fails

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.