AT commands in C++

Hi
I need to interface and receive the sms thats reaching my SIM card(GSM SIM ). I know i need to use AT commands in order to read and sent sms via a computer through a SIM. I i dont know how to read the message contents to a c++ code. i.e I would like to transfer the message content to a string variable in a c++ program.
Please Help
Last edited on
This is some documentation about AT commands (it is assumed that you know how to open a COM port to communicate with the modem already):
http://www.codeproject.com/KB/IP/IntroductiontoATcommands.aspx
Yes But how to make it working in a code
suppose i have to read the incoming messages to a variable (string) and then use a cout<< to display it!!!
How can i accomplish it!!!
How to open COM port ?
With CreateFile in windows, in linux I think "everything is a file", so any I/O API will work.
Of course, the modem drivers must be properly installed.
Topic archived. No new replies allowed.