Could you explain what you are trying to do here? Why would you
clear the SMS storage every time the modem powers up?
I also don't see that ofono actually supports deleting messages from
the modem's storage... if you know how this is supposed to work,
please enlighten me.
the Gobi2000 doesn't accept the routes with TRANSFER_AND_ACK nor
Reading out the store is also useful if the modem is receiving any
SMS while ofono isn't runing. E.g. while booting, the sms would never
made it to ofono.
I don't know (yet) how the different routes are working in detail. This
is on my list. But I've faced edge cases when the NV was full, the
modem rejects receiving any messages, regardless if the modem should
save it to it.
gpg: 390D CF78 8BF9 AA50 4F8F F1E2 C29E 9DA6 A0DF 8604