Oh btw, the modem also doesn't seem to turn on by itself. I had to send AT+CFUN=1 everytime before I use it. Maybe we can include that also into the AT Handler for that model :)
Thanks again! On Fri, Jan 8, 2010 at 5:35 PM, Thanasis <[email protected]> wrote: > Good! I've created an issue in order to create a special at handler > for your modem. > > http://code.google.com/p/smslib/issues/detail?id=311 > > Cheers :) > > On Jan 8, 11:20 am, Dustin Cheng <[email protected]> wrote: > > Great! It works fine now. And yes, I had to use the "SMME" otherwise I > get > > duplicate messages. > > > > Thanks a lot Thanasis :) Cheers! > > > > > > > > On Fri, Jan 8, 2010 at 4:55 PM, Thanasis <[email protected]> wrote: > > > Edit the ReadMessages source. Locate the line: > > > > > SerialModemGateway gateway = new SerialModemGateway("modem.com1", > > > "COM1", 57600, "Nokia", ""); > > > > > After this line, add the following one: > > > > > gateway.getATHandler().setStorageLocations("SMMTME"); > > > > > Recompile and run once more. If you get duplicate inbound messages, > > > modify the line as follows: > > > > > gateway.getATHandler().setStorageLocations("SMME"); > > > > > and try once more. > > > > > -- > > > 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]<smslib%[email protected]> > <smslib%[email protected]<smslib%[email protected]> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/smslib?hl=en. > > -- > 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]<smslib%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/smslib?hl=en. > > > >--
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.
