Click here to Skip to main content
15,898,371 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello every one;

I want to know how to make calls from PC by connection my mobile phone through USB? can any one explain me, i am planing to develop this software using C# visual studio 2008. if you can please provide me the source code please.

Thank you;
zakirox123

[edit]Spurious code block removed - OriginalGriff[/edit]
Posted
Updated 20-Jul-12 21:00pm
v2
Comments
Christian Graus 21-Jul-12 3:01am    
You understand that if we give you the code, you won't have developed anything ? You want your phone to be controlled by your computer, via USB ? Do phones even support that ? I'm sure if they do, then only some phones ( such as Android ) do. What would be the use of that, anyhow ?
zakirox123 21-Jul-12 3:13am    
still i am doing Higher National Diploma in Software Development so, i want to get some idea. i really like to develop these king of application please help me regarding this
Sandeep Mewara 21-Jul-12 11:39am    
It does not work like this here.

Here is what is expected of enquirers:
1. TRY first what you want to do! You may find that it's not that hard.
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.
Members will be more than happy to help like this.
zakirox123 21-Jul-12 15:06pm    
ya i did perfect using AT commands, but the problem is i am unable to Hang Up calls.

//Hang Up call
this.serialPort.WriteLine("ATH" + System.Convert.ToChar(13).ToString()); //ERROR this line of cording is not responding.

Thank you in advance;
zakirox123
somi waqasr 21-May-19 9:17am    
Can you full code send plz

http://burakalakusen.wordpress.com/2011/07/27/to-control-your-mobile-phone-by-at-commands-via-bluetooth/[^]

Maybe this? This is about controlling a phone, I quote the page:

When you click the NO button, hangup command is sent to modem. (AT+CHUP)

this.serialPort1.Write("AT+CHUP" + Convert.ToChar(013));
 
Share this answer
 
v2
Comments
zakirox123 21-Jul-12 15:35pm    
wow perfect thanks a lot thank you so much.
this.serialPort.WriteLine("AT+CHUP" + System.Convert.ToChar(13).ToString());
SoMad 21-Jul-12 20:02pm    
With your comments and solution that solved the OP's problem, you deserve a 5.

Soren Madsen
 
Share this answer
 
Comments
zakirox123 21-Jul-12 15:38pm    
this is perfect it worked for me thank you so much.

this.serialPort.WriteLine("AT+CHUP" + System.Convert.ToChar(13).ToString());
zakirox123 21-Jul-12 15:48pm    
you helped me thank you very much, if i want to contact you in feature how do i contact you?
woutercx 21-Jul-12 15:55pm    
I think it's best if you put your questions through this codeproject page, I have to protect myself and my time... Then if I have time I might answer.
zakirox123 21-Jul-12 15:58pm    
ya ok thank you.
hasanrfan 24-May-14 4:13am    
how do i enable the laptop speaker during call made through GSM modem using AT command.
Plz help me in the code.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900