I need to connect USB GSM modems to Ubuntu machine, and listen to incoming SMS messages for these modems.
Java is preferred. Seems like it has to be done with either SMSLib, RxTx or AT commands.
It has to support unlimited number of modems connected, and automatically detect modem phone number and SMS content.
It has to be a callback function.
Don't need to send messages. Just receive and process them.