启动服务的时候报错如附件
org.smslib.GatewayException: The GSM modem does not support the TEXT protocol.
at org.smslib.modem.AModemDriver.connect(AModemDriver.java:195)
at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:185)
at org.smslib.Service$1Starter.run(Service.java:257)
SerialModemGateway gateway = new SerialModemGateway("modem.com4", "COM4", 115200, "Wavecom", "WISMOQCDMA");
// Set the modem protocol to PDU (alternative is TEXT). PDU is the default, anyway...
gateway.setProtocol(Protocols.TEXT);