uqmi: wms - added storage to read text messages
authorHenrik Ginstmark <henrik@ginstmark.se>
Tue, 15 Mar 2022 19:35:46 +0000 (20:35 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 4 May 2022 00:16:53 +0000 (01:16 +0100)
commit9a9019a34251c2505068a52c6acf50bfa939092d
tree97a77ce390a5a53db1e6defc186d4c3ca90c044c
parent44dd095794a5327611d0ee1a58b0a6333d397b64
uqmi: wms - added storage to read text messages

Today it's hard coded to read text messages from SIM card.
Not all devices store received text messages in SIM, they store
in me, QMI_WMS_STORAGE_TYPE_NV.
I have added --storage as an argumet available to
--list-messages
--get-message
--delete-message
--get-raw-message

If --storage is omitted default storage is sim, as before.

Reviewed-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Tested-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Henrik Ginstmark <henrik@ginstmark.se>
commands-wms.c
commands-wms.h