I think its time to try with another phone or a real gsm modem...
Your model does not response well to the AT commands used.

On 1 June 2010 23:53, Fabiano Cruz <[email protected]> wrote:

> entered the code but it's giving an error when executing the AT command:
>
> 930879 2010-06-01 16:44:31,875 [QueueManager [usbmodem]] DEBUG
> org.smslib.helper.Logger  - Running...
> 930970 2010-06-01 16:44:31,966 [CNMIEmulatorProcessor [usbmodem]]
> DEBUG org.smslib.helper.Logger  - Running...
> 930970 2010-06-01 16:44:31,966 [CNMIEmulatorProcessor [usbmodem]]
> DEBUG org.smslib.helper.Logger  - GTW: usbmodem: SEND
> :AT+CPMS="SM"(cr)
> 930972 2010-06-01 16:44:31,968 [CNMIEmulatorProcessor [usbmodem]]
> DEBUG org.smslib.helper.Logger  - GTW: usbmodem: BUFFER: ERROR
> 930972 2010-06-01 16:44:31,968 [CNMIEmulatorProcessor [usbmodem]]
> DEBUG org.smslib.helper.Logger  - GTW: usbmodem: RECV :ERROR(cr)
> 930993 2010-06-01 16:44:31,989 [CNMIEmulatorProcessor [usbmodem]]
> DEBUG org.smslib.helper.Logger  - GTW: usbmodem: SEND
> :AT+CPMS="ME"(cr)
> 930996 2010-06-01 16:44:31,992 [CNMIEmulatorProcessor [usbmodem]]
> DEBUG org.smslib.helper.Logger  - GTW: usbmodem: BUFFER: ERROR
> 930996 2010-06-01 16:44:31,992 [CNMIEmulatorProcessor [usbmodem]]
> DEBUG org.smslib.helper.Logger  - GTW: usbmodem: RECV :ERROR(cr)
> 930997 2010-06-01 16:44:31,993 [CNMIEmulatorProcessor [usbmodem]]
> DEBUG org.smslib.helper.Logger  - GTW: usbmodem: CheckMpMsgList():
> MAINLIST: 0
>
>
> On Tue, Jun 1, 2010 at 4:21 PM, Thanasis <[email protected]> wrote:
> > This is the cause of your problems:
> >
> > 6662 2010-06-01 15:47:25,884 [Thread-3] DEBUG org.smslib.helper.Logger -
> > GTW: usbmodem: SEND :AT+CPMS=?(cr)
> > 6686 2010-06-01 15:47:25,908 [Thread-3] DEBUG org.smslib.helper.Logger -
> > GTW: usbmodem: BUFFER: +CPMS: (),(),()
> > OK
> > 6687 2010-06-01 15:47:25,909 [Thread-3] DEBUG org.smslib.helper.Logger -
> > GTW: usbmodem: RECV :+CPMS: (),(),()(cr)OK(cr)
> > 6687 2010-06-01 15:47:25,909 [Thread-3] INFO org.smslib.helper.Logger -
> GTW:
> > usbmodem: MEM: Storage Locations Found:
> >
> > Your phone does not report *any* storage locations. To be honest, this is
> > the first time I see something like this.
> >
> > Try this - before starting the Service and after the definition of the
> modem
> > gateway:
> > <gateway-object>.getATHandler().setStorageLocations("SMME");
> > and run the example again.
> > On 1 June 2010 23:15, Fabiano Cruz <[email protected]> wrote:
> >>
> >> Hi,
> >>
> >> Unfortunately not. In case it might help, I've attached the full stack
> >> trace.
> >>
> >> Best,
> >> -Fabiano
> >>
> >> On Tue, Jun 1, 2010 at 4:09 PM, Thanasis <[email protected]> wrote:
> >> > Hi,
> >> >
> >> > When you run the ReadMessages example, does it initially read and
> >> > display
> >> > all your messages?
> >> > On 1 June 2010 22:36, Fabiano Cruz <[email protected]> wrote:
> >> >>
> >> >> I've successfully run the Send Message example on Mac OS X with an
> >> >> Nokia 6212 classic using the . But but when i tried the Read Message,
> >> >> it seems to not call the InboundNotification method when the message
> >> >> arrives. I've tested with the CallNotification and it works. I am
> >> >> using RXTX-2.0-7 with the -Dsmslib.serial.polling parameter.
> >> >>
> >> >> Any idea on what the problem is?
> >> >>
> >> >> Part of the log:
> >> >>
> >> >> ......
> >> >>
> >> >> 67     2010-06-01 15:30:23,636 [main] INFO  org.smslib.helper.Logger
> >> >> - Version: 3.4.6
> >> >> 67     2010-06-01 15:30:23,636 [main] INFO  org.smslib.helper.Logger
> >> >> - JRE Version: 1.5.0_24
> >> >> 72     2010-06-01 15:30:23,641 [main] INFO  org.smslib.helper.Logger
> >> >> - JRE Impl Version: 1.5.0_24-149
> >> >> 73     2010-06-01 15:30:23,642 [main] INFO  org.smslib.helper.Logger
> >> >> - O/S: Mac OS X / i386 / 10.5.8
> >> >> 84     2010-06-01 15:30:23,653 [main] DEBUG org.smslib.helper.Logger
> >> >> - Initialized.
> >> >> 86     2010-06-01 15:30:23,655 [DelayQueueManager] DEBUG
> >> >> org.smslib.helper.Logger  - Running...
> >> >> 87     2010-06-01 15:30:23,656 [DelayQueueManager] DEBUG
> >> >> org.smslib.helper.Logger  - DelayQueueManager running...
> >> >> 90     2010-06-01 15:30:23,659 [main] DEBUG org.smslib.helper.Logger
> >> >> - Initialized.
> >> >> 91     2010-06-01 15:30:23,660 [NotifyQueueManager] DEBUG
> >> >> org.smslib.helper.Logger  - Running...
> >> >> 92     2010-06-01 15:30:23,661 [NotifyQueueManager] DEBUG
> >> >> org.smslib.helper.Logger  - NotifyQueueManager running...
> >> >> 136    2010-06-01 15:30:23,705 [main] DEBUG org.smslib.helper.Logger
> >> >> - Initialized.
> >> >> 145    2010-06-01 15:30:23,714 [WatchDog] DEBUG
> >> >> org.smslib.helper.Logger  - Running...
> >> >> 148    2010-06-01 15:30:23,717 [Thread-3] INFO
> >> >> org.smslib.helper.Logger  - GTW: usbmodem: Starting gateway, using
> >> >> Generic AT Handler.
> >> >> 149    2010-06-01 15:30:23,718 [Thread-3] INFO
> >> >> org.smslib.helper.Logger  - GTW: usbmodem: Opening:
> >> >> /dev/tty.usbmodem622 @115200
> >> >> Stable Library
> >> >> =========================================
> >> >> Native lib Version = RXTX-2.0-7
> >> >> Java lib Version   = RXTX-2.0-7
> >> >>
> >> >> .....
> >> >>
> >> >> 16187  2010-06-01 15:30:39,756 [main] DEBUG org.smslib.helper.Logger
> >> >> - GTW: usbmodem: RECV :Nokia(cr)OK(cr)
> >> >>  Manufacturer: Nokia
> >> >> 16188  2010-06-01 15:30:39,757 [main] DEBUG org.smslib.helper.Logger
> >> >> - GTW: usbmodem: SEND :AT+CGMM(cr)
> >> >> 16193  2010-06-01 15:30:39,762 [main] DEBUG org.smslib.helper.Logger
> >> >> - GTW: usbmodem: BUFFER: Nokia 6212 classic
> >> >> OK
> >> >> 16196  2010-06-01 15:30:39,765 [main] DEBUG org.smslib.helper.Logger
> >> >> - GTW: usbmodem: RECV :Nokia 6212 classic(cr)OK(cr)
> >> >>  Model: Nokia 6212 classic
> >> >> 16197  2010-06-01 15:30:39,766 [main] DEBUG org.smslib.helper.Logger
> >> >> - GTW: usbmodem: SEND :AT+CGSN(cr)
> >> >> 16217  2010-06-01 15:30:39,786 [main] DEBUG org.smslib.helper.Logger
> >> >> - GTW: usbmodem: BUFFER: 355730020400787
> >> >> OK
> >> >> 16218  2010-06-01 15:30:39,787 [main] DEBUG org.smslib.helper.Logger
> >> >> - GTW: usbmodem: RECV :355730020400787(cr)OK(cr)
> >> >>  Serial No: 355730020400787
> >> >>  SIM IMSI: ** MASKED **
> >> >> 16218  2010-06-01 15:30:39,787 [main] DEBUG org.smslib.helper.Logger
> >> >> - GTW: usbmodem: SEND :AT+CSQ(cr)
> >> >> 16237  2010-06-01 15:30:39,806 [main] DEBUG org.smslib.helper.Logger
> >> >> - GTW: usbmodem: BUFFER: +CSQ: 20,99
> >> >> OK
> >> >> 16238  2010-06-01 15:30:39,807 [main] DEBUG org.smslib.helper.Logger
> >> >> - GTW: usbmodem: RECV :+CSQ: 20,99(cr)OK(cr)
> >> >>  Signal Level: 64%
> >> >> 16239  2010-06-01 15:30:39,808 [main] DEBUG org.smslib.helper.Logger
> >> >> - GTW: usbmodem: SEND :AT+CBC(cr)
> >> >> 16256  2010-06-01 15:30:39,825 [main] DEBUG org.smslib.helper.Logger
> >> >> - GTW: usbmodem: BUFFER: +CBC: 0,63
> >> >> OK
> >> >> 16258  2010-06-01 15:30:39,827 [main] DEBUG org.smslib.helper.Logger
> >> >> - GTW: usbmodem: RECV :+CBC: 0,63(cr)OK(cr)
> >> >>  Battery Level: 63%
> >> >>
> >> >> 16269  2010-06-01 15:30:39,838 [main] DEBUG org.smslib.helper.Logger
> >> >> - GTW: usbmodem: CheckMpMsgList(): MAINLIST: 0
> >> >> Now Sleeping - Hit <enter> to stop service.
> >> >> 20773  2010-06-01 15:30:44,342 [QueueManager [usbmodem]] DEBUG
> >> >> org.smslib.helper.Logger  - Running...
> >> >> 25774  2010-06-01 15:30:49,343 [QueueManager [usbmodem]] DEBUG
> >> >> org.smslib.helper.Logger  - Running...
> >> >> 30147  2010-06-01 15:30:53,716 [WatchDog] DEBUG
> >> >> org.smslib.helper.Logger  - Running...
> >> >> 30210  2010-06-01 15:30:53,779 [CNMIEmulatorProcessor [usbmodem]]
> >> >> DEBUG org.smslib.helper.Logger  - Running...
> >> >> 30211  2010-06-01 15:30:53,780 [CNMIEmulatorProcessor [usbmodem]]
> >> >> DEBUG org.smslib.helper.Logger  - GTW: usbmodem: CheckMpMsgList():
> >> >> MAINLIST: 0
> >> >> 30774  2010-06-01 15:30:54,343 [QueueManager [usbmodem]] DEBUG
> >> >> org.smslib.helper.Logger  - Running...
> >> >> 35775  2010-06-01 15:30:59,344 [QueueManager [usbmodem]] DEBUG
> >> >> org.smslib.helper.Logger  - Running...
> >> >> 40775  2010-06-01 15:31:04,344 [QueueManager [usbmodem]] DEBUG
> >> >> org.smslib.helper.Logger  - Running...
> >> >> 45147  2010-06-01 15:31:08,716 [WatchDog] DEBUG
> >> >> org.smslib.helper.Logger  - Running...
> >> >> 45776  2010-06-01 15:31:09,345 [QueueManager [usbmodem]] DEBUG
> >> >> org.smslib.helper.Logger  - Running...
> >> >> 50776  2010-06-01 15:31:14,345 [QueueManager [usbmodem]] DEBUG
> >> >> org.smslib.helper.Logger  - Running...
> >> >> 55777  2010-06-01 15:31:19,346 [QueueManager [usbmodem]] DEBUG
> >> >> org.smslib.helper.Logger  - Running...
> >> >> 60148  2010-06-01 15:31:23,717 [WatchDog] DEBUG
> >> >> org.smslib.helper.Logger  - Running...
> >> >> 60212  2010-06-01 15:31:23,781 [KeepAlive [usbmodem]] DEBUG
> >> >> org.smslib.helper.Logger  - Running...
> >> >> 60213  2010-06-01 15:31:23,782 [CNMIEmulatorProcessor [usbmodem]]
> >> >> DEBUG org.smslib.helper.Logger  - Running...
> >> >> 60213  2010-06-01 15:31:23,782 [KeepAlive [usbmodem]] DEBUG
> >> >> org.smslib.helper.Logger  - GTW: usbmodem: SEND :AT(cr)
> >> >> 60224  2010-06-01 15:31:23,793 [KeepAlive [usbmodem]] DEBUG
> >> >> org.smslib.helper.Logger  - GTW: usbmodem: BUFFER: OK
> >> >> 60229  2010-06-01 15:31:23,798 [KeepAlive [usbmodem]] DEBUG
> >> >> org.smslib.helper.Logger  - GTW: usbmodem: RECV :OK(cr)
> >> >> 60232  2010-06-01 15:31:23,801 [CNMIEmulatorProcessor [usbmodem]]
> >> >> DEBUG org.smslib.helper.Logger  - GTW: usbmodem: CheckMpMsgList():
> >> >> MAINLIST: 0
> >> >>
> >> >>
> >> >> All the best,
> >> >> -Fabiano
> >> >>
> >> >> --
> >> >> 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]<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 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 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 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 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 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