Commit Graph
1100 Commits
Author SHA1 Message Date
Aleksander Morgado 18ca53b667 modem-helpers: update the regex for the AT+CIND=? response
Cinterion modems seem to include
   "signal",(0-7,99)

We just get rid of the ',99' part.
2012-03-15 14:15:00 +01:00
Aleksander Morgado 664f407b99 broadband-modem: by default use PDU mode for SMS operations
Currently the support for text mode lacks a lot of functionality.
2012-03-15 14:15:00 +01:00
Aleksander Morgado 0f94abd3ae iface-modem-3gpp: avoid segfault with empty MCCMNC 2012-03-15 14:15:00 +01:00
Aleksander Morgado cd5e9c27a3 broadband-modem: if locked, don't try to initialize remaining interfaces
Whenever we get unlocked, the modem initialization sequence will be run again.
2012-03-15 14:14:59 +01:00
Aleksander Morgado 47a9903901 iface-modem-messaging: handle SMS listing 2012-03-15 14:14:59 +01:00
Aleksander Morgado 19ce344df8 iface-modem-messaging: handle SMS deletion requests 2012-03-15 14:14:59 +01:00
Aleksander Morgado 7956fc4e17 sms-list: allow deleting an SMS object and its parts 2012-03-15 14:14:59 +01:00
Aleksander Morgado 9dee04a971 sms: allow deleting all parts of an SMS 2012-03-15 14:14:59 +01:00
Aleksander Morgado 2ede62e45e iface-modem-messaging: emit SMS added/completed/deleted signals 2012-03-15 14:14:59 +01:00
Aleksander Morgado 75b7225417 sms-list: signal messages added/completed/deleted 2012-03-15 14:14:59 +01:00
Aleksander Morgado ba0a622616 sms: new method to check if the SMS has a given part 2012-03-15 14:14:59 +01:00
Aleksander Morgado c938a25ca7 sms: new methods to handle multipart messages 2012-03-15 14:14:59 +01:00
Aleksander Morgado 8c5dd282f5 sms-part: new method to check if the part is from a multipart message 2012-03-15 14:14:59 +01:00
Aleksander Morgado 157dd69646 broadband-modem: default implementation of SMS part list loading 2012-03-15 14:14:59 +01:00
Aleksander Morgado d996ef84f4 iface-modem-messaging: load initial list of SMS parts 2012-03-15 14:14:59 +01:00
Aleksander Morgado 9079d660a5 broadband-modem: default implementation of SMS format setting 2012-03-15 14:14:59 +01:00
Aleksander Morgado 21b1de678d iface-modem-messaging: allow configuring preferred SMS format 2012-03-15 14:14:59 +01:00
Aleksander Morgado 14fa4aae1d broadband-modem: override the SMS list property 2012-03-15 14:14:59 +01:00
Aleksander Morgado 03ee0b44f6 iface-modem-messaging: new property to handle the list of SMS objects 2012-03-15 14:14:59 +01:00
Aleksander Morgado fba16a2a2c sms-list: new object to handle SMS objects and SMS parts 2012-03-15 14:14:59 +01:00
Aleksander Morgado ad8fbcd1a6 sms: new object to handle single-part and multi-part messages 2012-03-15 14:14:59 +01:00
Aleksander Morgado d41f4226f4 sms-part: new struct to handle parsed SMS parts 2012-03-15 14:14:59 +01:00
Aleksander Morgado 2bb43e0020 modem-helpers: new CMGF format query result parser 2012-03-15 14:14:58 +01:00
Aleksander Morgado 4c6765857b broadband-modem: implement default messaging support check
We'll just:
 * Report unsupported on CDMA-only modems.
 * Check if AT+CNMI=? replies correctly, and if so, assume SMS-based messaging
   is supported.
2012-03-15 14:14:58 +01:00
Aleksander Morgado c9c46b6f51 iface-modem-messaging: check if modem has messaging capabilities
The interface won't be exported if the given check fails.
2012-03-15 14:14:58 +01:00
Aleksander Morgado 52f1c87b06 broadband-modem: implement the Messaging interface 2012-03-15 14:14:58 +01:00
Aleksander Morgado bc0454badf iface-modem-messaging: new interface to handle the Messaging DBus interface 2012-03-15 14:14:58 +01:00
Aleksander Morgado 37bc2103c9 broadband-bearer: fix default implementations of connect_3gpp() and connect_cdma()
These implementations must not update neither port nor connection_type, as
these items are specific of the MMBroadbandBearer object, and hence not
available by subclasses.
2012-03-15 14:14:58 +01:00
Aleksander Morgado c9e7e80c3b iface-modem-3gpp: update access tech and location even if registration didn't change 2012-03-15 14:14:58 +01:00
Aleksander Morgado c2e750d5bf sim: avoid passing source of the async object in finish 2012-03-15 14:14:58 +01:00
Aleksander Morgado 64de09f052 broadband-modem: if failed to initialize an optional interface, shut it down 2012-03-15 14:14:58 +01:00
Aleksander Morgado e808e04910 broadband-modem: implement USSD cancellation 2012-03-15 14:14:57 +01:00
Aleksander Morgado 8acf9e4fbc broadband-modem: implement USSD command sending 2012-03-15 14:14:57 +01:00
Aleksander Morgado 2bf40184e0 iface-modem-3gpp-ussd: allow error reporting in encode/decode 2012-03-15 14:14:57 +01:00
Aleksander Morgado 7210e6caf1 iface-modem-3gpp-ussd: handle USSD session initiate/respond/cancel 2012-03-15 14:14:57 +01:00
Aleksander Morgado f3ee74c1e8 broadband-modem: implement default handling of USSD URCs 2012-03-15 14:14:57 +01:00
Aleksander Morgado e975543316 broadband-modem: implement default USSD encode/decode 2012-03-15 14:14:57 +01:00
Aleksander Morgado 3ea437d522 iface-modem-3gpp-ussd: allow subclassing encode/decode 2012-03-15 14:14:57 +01:00
Aleksander Morgado 5d330154a5 iface-modem-3gpp-ussd: allow setting properties from implementations 2012-03-15 14:14:57 +01:00
Aleksander Morgado 4718ba0055 broadband-modem: implement generic URC setup/cleanup 2012-03-15 14:14:57 +01:00
Aleksander Morgado fdbb07ca42 iface-modem-3gpp-ussd: implement logic to setup/cleanup URC message handlers 2012-03-15 14:14:57 +01:00
Aleksander Morgado 259ce3439b iface-modem-3gpp-ussd: set initial property defaults 2012-03-15 14:14:57 +01:00
Aleksander Morgado 81d130b2bb base-modem: initially set the unsolicited CUSD handler with NULL callback 2012-03-15 14:14:57 +01:00
Aleksander Morgado f37a1a2b62 modem-helpers: new method to get common CUSD regex 2012-03-15 14:14:56 +01:00
Aleksander Morgado c9c2a9aa4d broadband-modem: default URC enabling/disabling implementation 2012-03-15 14:14:56 +01:00
Aleksander Morgado b28af06d1c iface-modem-3gpp-ussd: implement logic to enable/disable URCs 2012-03-15 14:14:56 +01:00
Aleksander Morgado 1f01274a5f broadband-modem: implement generic USSD support check 2012-03-15 14:14:56 +01:00
Aleksander Morgado e491dc2b9c iface-modem-3gpp-ussd: check if USSD supported 2012-03-15 14:14:56 +01:00
Aleksander Morgado a54226a0dd broadband-modem: implement the 3GPP/USSD interface 2012-03-15 14:14:56 +01:00
Aleksander Morgado b65f96aec7 iface-modem-3gpp-ussd: new interface for USSD related actions 2012-03-15 14:14:56 +01:00