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