pkot / gnokii

Open source tools for your mobile phone
http://www.gnokii.org/
GNU General Public License v2.0
38 stars 13 forks source link

gnokii dont dont read sms (getsms) reported via showsmsfolderstatus #2

Open pablorsk opened 7 years ago

pablorsk commented 7 years ago

When I run showsmsfolderstatus, I receive information about how much sms has any folder. For expample:

$ gnokii --showsmsfolderstatus
GNOKII Version 0.6.31
No. Name                                         Id #Msg
========================================================
  0 SIM card                                     SM   27
  1 Internal memory                              ME    0

Like you see, I have 27 msg on SMS folder. But, when you run

$ gnokii --config gnokiirc-ttyUSB1 --getsms SM 0 150
GNOKII Version 0.6.31
Getting SMS failed (location 0 from SM memory)! (Command called isn't implemented in model.)
Getting SMS failed (location 1 from SM memory)! (Command called isn't implemented in model.)
Getting SMS failed (location 2 from SM memory)! (Command called isn't implemented in model.)
[...]
Getting SMS failed (location 22 from SM memory)! (Command called isn't implemented in model.)
Getting SMS failed (location 23 from SM memory)! (The given location is empty.)
Getting SMS failed (location 24 from SM memory)! (Command called isn't implemented in model.)
Getting SMS failed (location 25 from SM memory)! (Problem occurred internal to model specific code.)
Getting SMS failed (location 26 from SM memory)! (Command called isn't implemented in model.)
Getting SMS failed (location 27 from SM memory)! (The given location is empty.)
Getting SMS failed (location 28 from SM memory)! (The given location is empty.)
Getting SMS failed (location 29 from SM memory)! (The given location is empty.)
Getting SMS failed (location 30 from SM memory)! (Unknown error - well better than nothing!!)
Getting SMS failed (location 31 from SM memory)! (Unknown error - well better than nothing!!)
[...]
Getting SMS failed (location 150 from SM memory)! (Unknown error - well better than nothing!!)

I don't get anything...

How can I read the 27 reported by showsmsfolderstatus?

This is a simplified example. If you like a complete results and commands, please see this.

pkot commented 7 years ago

Can you please enable the debug log? What phone is this?