It would help if you could post a log, but it seems that your modem does not understand that command.
On Feb 12, 11:39 am, onerekiz <[email protected]> wrote: > i have Siemens MC35i gsm modem. > i can get ALL messages but cannot get UNREAD messages. > what can cause this > anybody can help, please? > > i use it like in the examples. here some code from my app: > new SerialModemGateway("modem.com1", "COM1", 57600, "Siemens", > "MC35i"); > gateway.setProtocol(Protocols.PDU); > gateway.setInbound(true); > gateway.setOutbound(false); > > service.readMessages(unReadMessages, MessageClasses.ALL); //works > service.readMessages(unReadMessages, MessageClasses.UNREAD); //does > not work! -- You received this message because you are subscribed to the Google Groups "SMSLib User Group" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/smslib?hl=en.
