Hi All,
I want to send AT commands to device( I am using Sony erricson Mobile phone) connected to USB port. I am planing an application which sends me message monitoring system performance.
Eg- Monitoring disk space and if it exceeds a limit I need to get a message from the mobile phone connected to the system.
I know the AT commands to achieve this,but sending AT commands from a C program is new to me.
Thanks to you all in advance for the help.
SO
Sending AT commands to device connected to USB
Started by susotest, Jan 09 2008 11:26 PM
3 replies to this topic
#1
Posted 09 January 2008 - 11:26 PM
|
|
|
#2
Posted 10 January 2008 - 04:55 AM
You need to figure out which com port it is using and send the commands to that com port via C++. Are you using ANSI C++?
#3
Posted 10 January 2008 - 07:57 AM
Hi Lop,
Thanks a lot.
I would like to clarify on this.
You ment to say the outportb() fucntion to send the commands?
Eg outportb(0x3XY,AT);
kind of sequence?
Apologies I am not much sure whether AT commands are interpreted by the device or the application we use ( Hyper terminal mostly) that makes me confused.
Appreciate if you can explain a little more on this.
I am Borland Turbo C++.
Thanks again
SO
Thanks a lot.
I would like to clarify on this.
You ment to say the outportb() fucntion to send the commands?
Eg outportb(0x3XY,AT);
kind of sequence?
Apologies I am not much sure whether AT commands are interpreted by the device or the application we use ( Hyper terminal mostly) that makes me confused.
Appreciate if you can explain a little more on this.
I am Borland Turbo C++.
Thanks again
SO
#4
Posted 21 January 2008 - 03:10 PM
Try linking to the phone's device driver (should be a .dll) and interfacing through that.


Sign In
Create Account

Back to top









