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].
For more options, visit this group at 
http://groups.google.com/group/smslib?hl=en.

Reply via email to