nnemo33
asked on
How to parse AT command
I'm starting a project that create a virtual modem. The modem receive an AT command and response it follow the command. But I don't know (don't have the idea) to parse the AT command to cover all of the cases.Anyone have the source code or document relate how to parse AT command using C language please suggest me. Thanks so much.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Here is a page regarding "Controlling your Modem with AT Commands": http://www.zoltrix.com/support_html/modem/usemodem.htm
You can see the implementation of "Linux Generic Soft Modem" at: http://bellard.org/linmodem.html
The above software has a AT command parser.
And also, you can refer the following link to look at "Simple Hayes AT Command Parser": http://embeddedfreak.wordpress.com/2008/11/03/simple-hayes-at-command-parser/
You can see the implementation of "Linux Generic Soft Modem" at: http://bellard.org/linmodem.html
The above software has a AT command parser.
And also, you can refer the following link to look at "Simple Hayes AT Command Parser": http://embeddedfreak.wordpress.com/2008/11/03/simple-hayes-at-command-parser/
You can look at it at: http://mgetty.greenie.net/