Hi,

1) Do you get status reports on your network? For example for mobile-
to-mobile messaging?
Maybe status reports are saved somewhere else - Wavecom does this. Try
to define your modem as ("Wavecom","") in the gateway definition and
check if it works any better.

2) I always advise against leaving messages in the modem's memory.
Once you process something, delete it.
SMSLib always reads all the messages. If you want to change this
behaviour, edit AModemDriver.java, locate line "getGateway
().readMessages(this.msgList, MessageClasses.ALL);" and change "ALL"
to "UNREAD".


On Nov 30, 5:01 pm, dark cloud <[email protected]> wrote:
> Hi,
> Thanks you so much. It works like a charm. But it still leaves me with
> a couple of questions
>
> 1. I set the status report to true and setup inboundnotification to
> service and check (msgType == MessageTypes.STATUSREPORT) but i did not
> get any status report message so far. Is that all I need to do for
> status message? do i need to manually call readMessage() method.
>
> 2. Whenever I got the inbound message, it displays all the messages in
> the SIM card including old and new messages, how do i get only the new
> messages?. i.e my inboundmessagenotification is called several times
> for each and every message in the sim card (old and news). I like to
> get only notification for new messages
>
> 3. Thank you again.

--

You received this message because you are subscribed to the Google Groups 
"SMSLib for Java 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.


Reply via email to