Commit Graph

2208 Commits

Author SHA1 Message Date
Aleksander Morgado
9e3f66393f iface-modem-messaging: load initial parts from all available storages 2012-03-15 14:15:03 +01:00
Aleksander Morgado
cd184f33f9 test: new tester for CPMS=? results 2012-03-15 14:15:03 +01:00
Aleksander Morgado
69ecae2dc4 iface-modem-messaging: new method to set preferred SMS storages 2012-03-15 14:15:03 +01:00
Aleksander Morgado
e6e7aa1846 broadband-modem: override default preferred mem1/mem2/mem3 storages 2012-03-15 14:15:03 +01:00
Aleksander Morgado
f6ef117d32 iface-modem-messaging: new properties to define preferred mem1/mem2/mem3 storages 2012-03-15 14:15:03 +01:00
Aleksander Morgado
55ba297fb8 broadband-modem: implement default SMS storage loading 2012-03-15 14:15:03 +01:00
Aleksander Morgado
7fb1234015 iface-modem-messaging: load supported SMS storages during initialization 2012-03-15 14:15:03 +01:00
Aleksander Morgado
09adad847e modem-helpers: new CPMS format result parser 2012-03-15 14:15:03 +01:00
Aleksander Morgado
23508ddd7f libmm-common: new helpers to work with SMS storage strings 2012-03-15 14:15:03 +01:00
Aleksander Morgado
1e5756c33b api,header: new `MMSmsStorage' enumeration 2012-03-15 14:15:03 +01:00
Aleksander Morgado
4b6792dd62 sms: implement default sending, either from storage or through the generic cmd 2012-03-15 14:15:03 +01:00
Aleksander Morgado
ea8b4c80b7 sms: don't allow sending received messages 2012-03-15 14:15:02 +01:00
Aleksander Morgado
4e4078ef2e sms: implement default storing 2012-03-15 14:15:02 +01:00
Aleksander Morgado
183e7c3205 sms-part: include the submit-pdu building code
It currently doesn't do multi-part. When do support that, we may end up needing
to move all this code to mm-sms.c
2012-03-15 14:15:02 +01:00
Aleksander Morgado
bf5276d4c7 broadband-modem: implement the use-pdu-mode flag property 2012-03-15 14:15:02 +01:00
Aleksander Morgado
6bb4f9cb57 iface-modem-messaging: handle the flag to use PDU mode as a property 2012-03-15 14:15:02 +01:00
Aleksander Morgado
2622705744 cli: new `--store' action to store SMS messages 2012-03-15 14:15:02 +01:00
Aleksander Morgado
cee94ef536 libmm-glib: new method to store SMS messages 2012-03-15 14:15:02 +01:00
Aleksander Morgado
556efdd378 sms-list: refactor SMS removal
If any of the parts couldn't be removed, an error is reported and the SMS is
left in the list.
2012-03-15 14:15:02 +01:00
Aleksander Morgado
572565c1e0 sms: delete() just removes the parts from the storage
It's left to the delete() caller to unexport the SMS object from DBus and such.
2012-03-15 14:15:02 +01:00
Aleksander Morgado
40a39e4d47 sms-part: allow reseting part index
so that we can for example, tell the index is INVALID
2012-03-15 14:15:02 +01:00
Aleksander Morgado
a8b3b50f45 sms: 'number' and 'text' are mandatory when creating from properties 2012-03-15 14:15:02 +01:00
Aleksander Morgado
b61c94016a api,dbus: remove the option to send the SMS in the Create() call
An SMS must be first created with the Messaging interface, and then sent using the
Send() method from the SMS-specific interface.
2012-03-15 14:15:02 +01:00
Aleksander Morgado
8a4a7ca4dc broadband-modem: get and use SMS part state when parsing CMGL reply 2012-03-15 14:15:02 +01:00
Aleksander Morgado
714e4ca44b sms: export uncomplete multipart messages as well
Uncompleted multipart SMS will be exported to DBus, where only the "state"
property is valid, so that we allow completely removing those uncompleted
multipart SMS which will never get completed due to one reason or another.
2012-03-15 14:15:02 +01:00
Aleksander Morgado
186584f26f broadband-modem: ensure text mode SMS list doesn't pick up too much text
This is the port of commit 2104cd725a to the
06-api branch.
2012-03-15 14:15:02 +01:00
Aleksander Morgado
3c886d2579 broadband-modem: fix text SMS list regex
This is a port of commit c7f54a635a to the
06-api branch.
2012-03-15 14:15:02 +01:00
Aleksander Morgado
ad3b3d0ba7 iface-modem-messaging: don't allow method calls if not enabled 2012-03-15 14:15:02 +01:00
Aleksander Morgado
a1dc38360c iface-modem: don't force port closing here, it breaks the open/close count 2012-03-15 14:15:02 +01:00
Aleksander Morgado
214a146a28 iface-modem: simplify disabling sequence
Avoid the _ready() function generator macro, not really needed here.
2012-03-15 14:15:02 +01:00
Aleksander Morgado
a826e7c8ae cinterion: fix power down sequence
Need to complete the operation result at some point!
2012-03-15 14:15:02 +01:00
Aleksander Morgado
7bc586258d sim: leave up to 10s for CRSM queries 2012-03-15 14:15:01 +01:00
Aleksander Morgado
d528a2211b cli: ensure EOL is added at every error message 2012-03-15 14:15:01 +01:00
Aleksander Morgado
470d9b933e sms: handle message storing and sending actions from DBus 2012-03-15 14:15:01 +01:00
Aleksander Morgado
fb02fbf7a0 sms-part: new symbol to define invalid indexes
SMS parts with invalid indexes are NOT stored yet in the device
2012-03-15 14:15:01 +01:00
Aleksander Morgado
e07e26c6e1 api,dbus: new method to request storing a SMS messages 2012-03-15 14:15:01 +01:00
Aleksander Morgado
e257c4ac49 cli: avoid unneeded refs when synchronously looking for bearer/sms/sim 2012-03-15 14:15:01 +01:00
Aleksander Morgado
0833934f11 cli: added Messaging-specific actions 2012-03-15 14:15:01 +01:00
Aleksander Morgado
6ff1543c32 cli: added SMS-specific actions 2012-03-15 14:15:01 +01:00
Aleksander Morgado
2021ba80fd cli: setup to work with SMS objects 2012-03-15 14:15:01 +01:00
Aleksander Morgado
d80d06cd6e cli: fix help, bearers and SIMs can be specified also by index 2012-03-15 14:15:01 +01:00
Aleksander Morgado
e82db67646 libmm-glib: implement support for the Messaging interface 2012-03-15 14:15:01 +01:00
Aleksander Morgado
26075236f6 libmm-glib: (trivial) fix some return types 2012-03-15 14:15:01 +01:00
Aleksander Morgado
9de213fcc1 libmm-glib: methods to create MMSms objects
We need them, as received messages are signaled just with their path, so the
program listening to those signals will need to create the proxy objects itself.
2012-03-15 14:15:01 +01:00
Aleksander Morgado
bfbcf3cfaf libmm-glib: new object to handle SMS objects 2012-03-15 14:15:01 +01:00
Aleksander Morgado
14baeff88d api,dbus: renamed To' to Number' in the SMS interface 2012-03-15 14:15:01 +01:00
Aleksander Morgado
d30c101e53 libmm-glib: new common object to handle SMS properties
To be used when requesting to create new SMS.
2012-03-15 14:15:01 +01:00
Aleksander Morgado
76aaac23ec iface-modem-messaging: allow creating new SMS objects 2012-03-15 14:15:01 +01:00
Aleksander Morgado
f414350b24 sms: allow creating SMS objects from the common properties 2012-03-15 14:15:01 +01:00
Aleksander Morgado
f9a7533ac4 sms-list: allow adding full SMS objects to the list 2012-03-15 14:15:01 +01:00