aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-23broadband-modem-qmi: don't warn on invalid ESN/MEIDs reportedAleksander Morgado
The MC7304, which is a 3GPP only device, reports a ESN with value 0 in "DMS Get IDs": ModemManager[10121]: [/dev/cdc-wdm0] Received message (translated)... >>>>>> QMUX: >>>>>> length = 45 >>>>>> flags = 0x80 >>>>>> service = "dms" >>>>>> client = 2 >>>>>> QMI: >>>>>> flags = "response" >>>>>> transaction = 6 >>>>>> tlv_length = 33 >>>>>> message = "Get IDs" (0x0025) >>>>>> TLV: >>>>>> type = "Result" (0x02) >>>>>> length = 4 >>>>>> value = 00:00:00:00 >>>>>> translated = SUCCESS >>>>>> TLV: >>>>>> type = 0x13 >>>>>> length = 1 >>>>>> value = 42 >>>>>> TLV: >>>>>> type = "Esn" (0x10) >>>>>> length = 1 >>>>>> value = 30 >>>>>> translated = 0 >>>>>> TLV: >>>>>> type = "Imei" (0x11) >>>>>> length = 15 >>>>>> value = <hidden> >>>>>> translated = <hidden>
2015-09-22tests: plug memleak in +CMGR response parserAleksander Morgado
2015-09-22core: process SMS +CGMR response with regexNick Stevens
Variability in the response style from certain modems causes the parsing of the +CGMR response to fail. For example, the Telit HE910 inserts an empty string ("") in the second field of the response, causing the sscanf implementation to fail. This patch converts the parsing of the CGMR response to a regex that allows for more flexibility and robustness, and adds unit tests around the parsing call. Signed-off-by: Nick Stevens <Nick.Stevens@digi.com>
2015-09-16libmm-glib, simple: add missing introspection annotations to disconnect()Krzysztof Kotlenga
2015-09-15broadband-modem: minor coding style fixesAleksander Morgado
2015-09-15broadband-modem: don't issue failure setting up messaging in secondary port ↵Aleksander Morgado
as a warning
2015-09-15core: enable unsolicited messages on secondaryNick Stevens
Previously the enable unsolicited messages command (+CNMI) was only being sent on the primary. This patch adds support for sending the enable on the secondary as well. If the secondary doesn't exist, or if setting the enable causes an error, a warning is logged but no error is propagated up. This change is needed for proper SMS operation on the Telit HE910, which requires that +CNMI be sent to both primary and secondary. Since a failure to send the +CNMI command on the secondary is a non-fatal error, it is unlikely that this will cause issues with other modems. Signed-off-by: Nick Stevens <Nick.Stevens@digi.com>
2015-08-31broadband-modem-mbim: disable CDMA capabilities until we actually support ↵Dan Williams
MBIM+CDMA CDMA-capable modems (like a Sierra EM7355) will fail to even enable, because the internal CDMA code tries to initialize using AT commands and that fails because many MBIM modems don't have an AT port. We should figure out how to support minimal MBIM + CDMA using MBIM instead of AT-anything. [mm-broadband-modem.c:9000] enabling_step(): Modem has CDMA capabilities, enabling the Modem CDMA interface... [mm-iface-modem-cdma.c:946] mm_iface_modem_cdma_run_registration_checks(): Running registration checks (CDMA1x: 'yes', EV-DO: 'yes') [mm-broadband-modem.c:7397] setup_registration_checks_context_complete_and_free(): Will skip all QCDM-based registration checks [mm-broadband-modem.c:7418] setup_registration_checks_context_complete_and_free(): Will skip generic detailed registration check, we don't have Sprint commands [mm-iface-modem-cdma.c:768] registration_check_step(): Starting QCDM-based registration checks [mm-iface-modem-cdma.c:780] registration_check_step(): Skipping all QCDM-based checks and falling back to AT-based checks [mm-iface-modem-cdma.c:823] registration_check_step(): Starting AT-based registration checks [mm-iface-modem-cdma.c:641] get_service_status_ready(): Could not get service status: No AT port available to run command [mm-iface-modem.c:1392] __iface_modem_update_state_internal(): Modem /org/freedesktop/ModemManager1/Modem/0: state changed (enabling -> disabled)
2015-08-25blacklist: include MediaTek preloaderAleksander Morgado
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1473246
2015-08-02libmm-glib,docs: fix missing documentationsAleksander Morgado
2015-08-02libmm-glib,docs: update typesAleksander Morgado
# Extra options to supply to gtkdoc-scan SCAN_OPTIONS = --rebuild-types
2015-08-02libmm-glib,docs: avoid already defined idAleksander Morgado
DOC Building HTML ../libmm-glib-docs.xml:6: element indexdiv: validity error : ID api-index-full already defined DOC Fixing cross-references
2015-08-02libmm-glib,call: add missing 'dtmf' variable descriptionAleksander Morgado
2015-08-02docs,libmm-glib: add missing voice/call documentationAleksander Morgado
2015-08-02api,call: fix Hangup() descriptionAleksander Morgado
There's no MM_CALL_DIRECTION_TERMINATED enum; plus, anyway, hangup() should be allowed regardless the direction.
2015-08-02huawei: plug memleakAleksander Morgado
2015-08-02api,call: minor documentation fixAleksander Morgado
2015-08-02mmcli,call: minor alignment and message fixesAleksander Morgado
2015-08-02huawei,voice: ignore undocumented ^CSCHANNELINFO unsolicited commandMarco Bascetta
This command is sent by Huawei ME909s-120 with firmware 23.613.61.00.00
2015-08-02core,libmm-glib,cli,voice: Replaced 'SendTone' method and 'ToneReceived' ↵Marco Bascetta
signal with 'SendDtmf' and 'DtmfReceived'
2015-08-02libmm-glib,cli: Replaced 'list call' with 'list calls'Marco Bascetta
2015-08-02core,voice: remove explicit "NO CARRIER" response matchingAleksander Morgado
This response is already managed by the generic AT serial port and translates it into a proper error. This change also avoids the Call.Start() call to report a timeout in the serial port, instead we get a proper no-carrier error. Before: $ sudo mmcli -m 0 --voice-create-call="number=12345678" Successfully created new call: /org/freedesktop/ModemManager1/Call/1 outgoing (unknown) $ sudo mmcli -o 1 --start error: couldn't start the call: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Serial.ResponseTimeout: Serial command timed out' After: $ sudo mmcli -m 0 --voice-create-call="number=12345678" Successfully created new call: /org/freedesktop/ModemManager1/Call/1 outgoing (unknown) $ sudo mmcli -o 1 --start error: couldn't start the call: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Connection.NoCarrier: No carrier'
2015-08-02mmcli,voice: align values of printed Call parametersAleksander Morgado
2015-08-02policy: fix minor typoAleksander Morgado
2015-08-02polkit: added Voice policy ruleAleksander Morgado
2015-08-02docs,api: add missing links to the new Voice interface and Call objectAleksander Morgado
2015-08-02mmcli,voice: fix minor typoAleksander Morgado
2015-08-02docs,voice: add missing voice related enum valuesAleksander Morgado
2015-08-02core,voice: minor coding style fixesAleksander Morgado
2015-08-02huawei,voice: minor coding style fixesAleksander Morgado
2015-08-02libmm-glib,voice: minor coding style fixesAleksander Morgado
2015-08-02api,voice: minor coding style fixesAleksander Morgado
2015-08-02cli,voice: minor coding style fixesAleksander Morgado
2015-08-02iface-modem-voice: cleaned error debug messagesMarco Bascetta
2015-08-02huawei: fixed status_change reason on new outgoing callMarco Bascetta
2015-08-02huawei: signal incoming DTMF to DBusMarco Bascetta
2015-08-02mmcli: added --send-tone optionMarco Bascetta
2015-08-02base-call,iface-modem-voice:: handle DTMFMarco Bascetta
2015-08-02api,voice: added DTMF interface specificationMarco Bascetta
2015-08-02base-call: refactoring of error handling when call startsRiccardo Vangelisti
2015-08-02huawei: acquire incoming DTMF on active callMarco Bascetta
2015-08-02huawei: added proprietary Huawei call handlingRiccardo Vangelisti
2015-08-02mmcli: set call-start timeout to 2 minutesMarco Bascetta
2015-08-02huawei: handle voice call state changesMarco Bascetta
2015-08-02base-call: created an unique function to switch call's state and reasonRiccardo Vangelisti
2015-08-02core: set number of incoming callMarco Bascetta
2015-08-02huawei: handle custom voice unsolicited eventsMarco Bascetta
2015-08-02base-call: fixed bug when hangup call.Riccardo Vangelisti
Ok, busy and no carrier messages are handled by serial-parser.
2015-08-02core: handle incoming calls (RING/CRING, CLIP, NO CARRIER).Marco Bascetta
2015-08-02base-call: added deletion of a specified callRiccardo Vangelisti