Want to write an auto-answering (GSM call) program around a gsm voice modem which can be controlled by AT commands.
Could you please suggest a nice Java API wrapper around GSM AT command.
Have never worked before on such applications so please let me know if you see any issue with this approach.
-ak
PS> Modem doesn’t support TAPI
I am not sure if you have a specific modem in mind or are thinking of a general purpose utility. if the latter bear in mind that different modems and phones will support different AT commands. See:
Question re AT command support
Either way some useful links (Google ‘Hayes command api’ or anything you might have tried before with ‘AT’ replaced with ‘Hayes’ and you will find others also):
http://en.wikibooks.org/wiki/Serial_Programming/Serial_Java
http://jcs.mobile-utopia.com/jcs/13774_AtParser.java
http://embeddedfreak.wordpress.com/2008/11/03/simple-hayes-at-command-parser/
If your application is very simple these may be overkill – the AT commands are really just text characters sent and received over the serial port so you can go with very simple code, but these links will probably give you enough ideas to decide anyway.