No this didn't work. Oddly, when I tried the same command, but with MT
and view the logger output I get this:

10360  2010-04-07 07:55:15,378 [Thread-0] DEBUG
org.smslib.helper.Logger  - GTW:
 modem.com10: SEND :AT+CPMS="MT"(cr)
10969  2010-04-07 07:55:15,987 [Thread-0] DEBUG
org.smslib.helper.Logger  - GTW:
OKodem.com10: BUFFER: +CPMS: 1,50,1,50,1,50
10969  2010-04-07 07:55:15,987 [Thread-0] DEBUG
org.smslib.helper.Logger  - GTW:
 modem.com10: RECV :+CPMS: 1,50,1,50,1,50(cr)OK(cr)
10969  2010-04-07 07:55:15,987 [Thread-0] DEBUG
org.smslib.helper.Logger  - GTW:
 modem.com10: SEND :AT+CMGL=4(cr)
11172  2010-04-07 07:55:16,190 [Thread-0] DEBUG
org.smslib.helper.Logger  - GTW:
OK11000C915383364078710000A70CD4E2940A6A16A7D3E0B108
11172  2010-04-07 07:55:16,190 [Thread-0] DEBUG
org.smslib.helper.Logger  - GTW:
 modem.com10: RECV :+CMGL:
1,2,,25(cr)0011000C915383364078710000A70CD4E2940A6A16
A7D3E0B108(cr)OK(cr)
11203  2010-04-07 07:55:16,221 [Thread-0] DEBUG
org.smslib.helper.Logger  - GTW:
 modem.com10: READ PDU:
0011000C915383364078710000A70CD4E2940A6A16A7D3E0B108
11235  2010-04-07 07:55:16,253 [Thread-0] DEBUG
org.smslib.helper.Logger  - GTW:
 modem.com10: CheckMpMsgList(): MAINLIST: 0
Press <ENTER> to terminate...
14078  2010-04-07 07:55:19,096 [QueueManager [modem.com10]] DEBUG
org.smslib.hel
per.Logger  - Running...

Does this mean that it actually read a message? I'm not sure what the
READ PDU means...

Thanks again for all the thoughts Thanasis.

On Apr 6, 2:31 pm, Thanasis Delenikas <[email protected]> wrote:
> Just spotted something...
>
> Do this:
> Before starting the service (and after defining your gateway), add this:
>
> myGateway.getATHandler().setStorageLocations("SM");
>
> recompile and try to read your messages again.
>
> On Tue, Apr 6, 2010 at 4:12 PM, Will O'Connell
> <[email protected]>wrote:
>
>
>
> > No it's a Jablocom GDP-04. I wanted a big device that wasn't a flimsy
> > little mobile phone to test with... Thought it would be able to handle
> > everything. You reckon it's an incompatability?
>
> > On Apr 6, 11:24 am, Thanasis Delenikas <[email protected]> wrote:
> > > Hi Will,
>
> > > Judging from this response:
>
> > > +CPMS: "ME",0,25,"MT",0,50,"MT",0,50
>
> > > all of your memory locations (SM -> Sim Card, MT -> device local storage)
> > > are empty.
>
> > > What phone is this?
> > > Don't tell me it's a Symbian......... ?
>
> > > On Tue, Apr 6, 2010 at 10:32 AM, Will O'Connell
> > > <[email protected]>wrote:
>
> > > > Hi Thanasis,
> > > > that's a very clever way of doing it, pushing the messages through to
> > > > the same callback. That partially explains my problem then because I
> > > > actually do have messages on the phone. I actually texted the phone
> > > > during the running of the read messages as well but to no avail. It's
> > > > strange, even with Hyper Terminal I cannot get to any of the messages
> > > > that the phone receives or has stored through the normal phone
> > > > functions. If I create and store a message using the Hyper Terminal
> > > > window (AT+CMGW) and then query the messages, I can see it, but not if
> > > > it has been received. I think it may be because I have not selected
> > > > the correct storage area to read the messages from, but I can't seem
> > > > to find a way to choose the correct area.  Here is some output from my
> > > > hyper terminal session:
>
> > > > AT+CMGL
> > > > OK
> > > > AT+CPMS?
> > > > +CPMS: "ME",0,25,"MT",0,50,"MT",0,50
>
> > > > OK
> > > > AT+CPMS=?
> > > > +CPMS: ("MT","SM","ME"),("MT","SM","ME"),("MT","SM")
> > > > OK
> > > > AT+CPMS="MT","MT","MT"
> > > > +CPMS: 0,50,0,50,0,50
> > > > OK
> > > > AT+CMGL
> > > > OK
> > > > at+cmgf=1
> > > > OK
> > > > AT+CMGW="+35386xxxxxx"
> > > > > TEST MESSAGE
> > > > +CMGW: 1
>
> > > > OK
> > > > AT+CMGL="ALL"
> > > > +CMGL: 1,"STO UNSENT","+35386xxxxxxx",,
> > > > TEST MESSAGE
>
> > > > OK
>
> > > > So I can store a message from within a session, but if I browse
> > > > through the phone menu, I cannot find it. Also, when I run the read
> > > > messages app after storing the message, it does not appear. Is it
> > > > likely that the phone is just unsupported for reading, or am I just
> > > > being stupid and missing something easy here?
>
> > > > Thanks again,
> > > > Will.
>
> > > > On Apr 1, 8:11 pm, Thanasis <[email protected]> wrote:
> > > > > Will,
>
> > > > > When the CNMI fails, SMSLib goes into emulation mode: a background
> > > > > thread undertakes the task of periodically checking the modem for
> > > > > messages (i.e. polling) and pushing the messages to the same callback
> > > > > methods. This is what happens in your case. Its not as fast and real-
> > > > > time as the real CNMI, but the effect is the same.
>
> > > > > So, the CNMI failure is not a great loss. And no, you can't easily
> > > > > change the CNMI commands send (these are not in the parameters -
> > > > > require recompile).
>
> > > > > By the way, all READ attempts in your log fail to return any
> > messages.
> > > > > You don't have any messages, right?
>
> > > > --
> > > > 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]>
> > <smslib%[email protected]<smslib%252bunsubscr...@googlegroups.­com>
>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/smslib?hl=en.-Hide quoted text -
>
> > > - Show quoted text -
>
> > --
> > 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.- Hide quoted text -
>
> - Show quoted text -

-- 
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