Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Location mapping of a mobile number,AT command

Status
Not open for further replies.

Muthamizhselvan.ram

Newbie level 3
Joined
Dec 21, 2009
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Trichy
Activity points
1,313
I have two questions,

:?:first, i want to map the current location of a mobile number from which i receive a call.i want to do this using C#.NET.map the location on a google map.
plz help me.......

:?:second, my NOKIA 6300 mobile phone didn't support the AT command for read and list received messages.It produces an ERROR .plz help me .....


very urgent................


and one more question, I have a problem in my C#.NET coding to send msgs using Serial port communication,
I attached my coding below.
there is no error in coding.but every time i run the code,it shows "port is not connected".plz send me the correct coding.

coding:

SerialPort p=new SerialPort();
private void Form1_Load(object sender, EventArgs e)
{
try
{


p.PortName = "COM9";
p.BaudRate = 460800;
p.DataBits = 8;
p.StopBits = StopBits.One;
p.Parity = Parity.None;
p.ReadTimeout = 300;
p.WriteTimeout = 300;
p.Open();
p.DtrEnable = true;
p.RtsEnable = true;
}
catch (Exception ex)
{
throw ex;
}

p.Write("AT\r\n");
String s1 = p.ReadLine();
if (s1.Equals ("OK"))
{
MessageBox.Show("Port is connected");
}
else
MessageBox.Show("Port is not connected");
}

private void button1_Click(object sender, EventArgs e)
{
// p.write("");

p.Write("at+cmgf=1\r\n");
p.Write("at+cmgs=\"+919842798108\"\r\n");

p.Write("Test message ");
SendKeys.Send("^(z)");

String s2 = p.ReadLine();
if (s2.Equals("OK"))
{
MessageBox.Show("Message Sent");
}
else
MessageBox.Show("Message not sent");
}
}
}
 

hi, about ur last question....

in .Net, try to use multi threading for UART....
it works....

**broken link removed**
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top