Hmm.... For some reason I can see that not my whole message appears in
the archive... Here's the rest of my previous message:


Now, here comes the hardest part I think... And in this case I think I need
to dig into Sony Ericsson K700i init-string or something... I tried
screen /dev/cu.MartinsPhone-SerialPort2 and entering a lot of AT commands. I
also successfully made the phone software come up with some reply, when I
sms'ed from another phone. Then I tried to read the sms, but
unsuccessfull... I read various tutorials on the internet saying I should be
able to type in something like (to read message number 17, which the phone
told me the received sms was numbered):

AT+CMGR=17 <ENTER>

>From this point I get a lot of CMS ERROR: 500 which I can see is an
error that is specifically targeted towards Sony Ericcson, so it's
hard for me to debug without a clue about what the problem exactly is.
Now, back to my kannel-program and log-file:


2010-06-06 22:21:29 [977] [6] DEBUG:
AT2[/dev/cu.MartinsPhone-SerialPort2]: +CMTI incoming SMS indication:
+CMTI: "ME",18
2010-06-06 22:21:30 [977] [6] DEBUG:
AT2[/dev/cu.MartinsPhone-SerialPort2]: --> AT+CMGR=18^M
2010-06-06 22:21:30 [977] [6] DEBUG:
AT2[/dev/cu.MartinsPhone-SerialPort2]: <-- +CMS ERROR: 500
2010-06-06 22:21:30 [977] [6] ERROR:
AT2[/dev/cu.MartinsPhone-SerialPort2]: +CMS ERROR: +CMS ERROR: 500
2010-06-06 22:21:30 [977] [6] ERROR:
AT2[/dev/cu.MartinsPhone-SerialPort2]: +CMS ERROR: An unknown error
occurred (500)
2010-06-06 22:21:30 [977] [6] DEBUG:
AT2[/dev/cu.MartinsPhone-SerialPort2]: failed to get message 18.
2010-06-06 22:21:30 [977] [6] ERROR:
AT2[/dev/cu.MartinsPhone-SerialPort2]: CMTI notification received, but
no message found in memory!
2010-06-06 22:21:30 [977] [6] ERROR: System error 1: Operation not permitted
2010-06-06 22:21:58 [977] [6] INFO:
AT2[/dev/cu.MartinsPhone-SerialPort2]: Closing device
2010-06-06 22:21:58

So: I think I need a new init-string and I hope that init-string can
enable me to read text message and extract them from the phone... It's
a good thing that it at least gets the CMTI notification, so it
understands that it received a message....

Any clues from here on?

Thanks for all the help...


Regards,
Martin

Reply via email to