Commit Graph
4456 Commits
Author SHA1 Message Date
Krzysztof Kotlenga 0ca68657fb libmm-glib, simple: add missing introspection annotations to disconnect() 2015-09-16 22:16:37 +02:00
Aleksander Morgado 8df7f83278 broadband-modem: minor coding style fixes 2015-09-15 16:34:50 +02:00
Aleksander Morgado 7f47f13673 broadband-modem: don't issue failure setting up messaging in secondary port as a warning 2015-09-15 16:33:48 +02:00
Nick Stevens 48cd903189 core: enable unsolicited messages on secondary
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-09-15 16:26:03 +02:00
Dan Williams 2034918d7b broadband-modem-mbim: disable CDMA capabilities until we actually support 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-31 10:49:16 -05:00
Aleksander Morgado 0e7fc1dff9 blacklist: include MediaTek preloader
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1473246
2015-08-25 18:53:30 +02:00
Aleksander Morgado 707a2ef417 libmm-glib,docs: fix missing documentations 2015-08-02 12:05:51 +02:00
Aleksander Morgado 7a7fddc931 libmm-glib,docs: update types
# Extra options to supply to gtkdoc-scan
   SCAN_OPTIONS = --rebuild-types
2015-08-02 12:02:32 +02:00
Aleksander Morgado 4043edfd17 libmm-glib,docs: avoid already defined id
DOC   Building HTML
../libmm-glib-docs.xml:6: element indexdiv: validity error : ID api-index-full already defined
  DOC   Fixing cross-references
2015-08-02 12:02:32 +02:00
Aleksander Morgado c4c3afa865 libmm-glib,call: add missing 'dtmf' variable description 2015-08-02 12:02:32 +02:00
Aleksander Morgado 6fbed014db docs,libmm-glib: add missing voice/call documentation 2015-08-02 12:02:32 +02:00
Aleksander Morgado d0b0c3c3e5 api,call: fix Hangup() description
There's no MM_CALL_DIRECTION_TERMINATED enum; plus, anyway, hangup() should be
allowed regardless the direction.
2015-08-02 11:06:01 +02:00
Aleksander Morgado fcf54bd8b2 huawei: plug memleak 2015-08-02 10:49:14 +02:00
Aleksander Morgado d1dab38a06 api,call: minor documentation fix 2015-08-02 10:46:37 +02:00
Aleksander Morgado c55fcab3b3 mmcli,call: minor alignment and message fixes 2015-08-02 10:45:17 +02:00
Marco Bascetta f6779d60fe huawei,voice: ignore undocumented ^CSCHANNELINFO unsolicited command
This command is sent by Huawei ME909s-120 with firmware 23.613.61.00.00
2015-08-02 10:39:48 +02:00
Marco Bascetta 74325b547a core,libmm-glib,cli,voice: Replaced 'SendTone' method and 'ToneReceived' signal with 'SendDtmf' and 'DtmfReceived' 2015-08-02 10:39:48 +02:00
Marco Bascetta 2ac5d620c4 libmm-glib,cli: Replaced 'list call' with 'list calls' 2015-08-02 10:39:48 +02:00
Aleksander Morgado 9f3801df3f core,voice: remove explicit "NO CARRIER" response matching
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-02 10:39:48 +02:00
Aleksander Morgado b600e6c9ce mmcli,voice: align values of printed Call parameters 2015-08-02 10:39:48 +02:00
Aleksander Morgado d5bc19f7db policy: fix minor typo 2015-08-02 10:39:48 +02:00
Aleksander Morgado 69585b1374 polkit: added Voice policy rule 2015-08-02 10:39:48 +02:00
Aleksander Morgado 6ca7c49d80 docs,api: add missing links to the new Voice interface and Call object 2015-08-02 10:39:48 +02:00
Aleksander Morgado 394bf91032 mmcli,voice: fix minor typo 2015-08-02 10:39:48 +02:00
Aleksander Morgado a6adf04102 docs,voice: add missing voice related enum values 2015-08-02 10:39:48 +02:00
Aleksander Morgado e75d888b51 core,voice: minor coding style fixes 2015-08-02 10:39:48 +02:00
Aleksander Morgado 61562fbe8b huawei,voice: minor coding style fixes 2015-08-02 10:39:48 +02:00
Aleksander Morgado d00fe0d628 libmm-glib,voice: minor coding style fixes 2015-08-02 10:39:47 +02:00
Aleksander Morgado ca88d6333f api,voice: minor coding style fixes 2015-08-02 10:39:47 +02:00
Aleksander Morgado c0e05dbd43 cli,voice: minor coding style fixes 2015-08-02 10:39:47 +02:00
Marco Bascetta f67cc37956 iface-modem-voice: cleaned error debug messages 2015-08-02 10:39:47 +02:00
Marco Bascetta 8242a991dc huawei: fixed status_change reason on new outgoing call 2015-08-02 10:39:47 +02:00
Marco Bascetta 915e0e7422 huawei: signal incoming DTMF to DBus 2015-08-02 10:39:47 +02:00
Marco Bascetta 4a13bc8fec mmcli: added --send-tone option 2015-08-02 10:39:47 +02:00
Marco Bascetta 9874f10e1f base-call,iface-modem-voice:: handle DTMF 2015-08-02 10:39:47 +02:00
Marco Bascetta 8edead9193 api,voice: added DTMF interface specification 2015-08-02 10:39:47 +02:00
Riccardo Vangelisti 40fae5fcba base-call: refactoring of error handling when call starts 2015-08-02 10:39:47 +02:00
Marco Bascetta bf416045df huawei: acquire incoming DTMF on active call 2015-08-02 10:39:47 +02:00
Riccardo Vangelisti be09f500bd huawei: added proprietary Huawei call handling 2015-08-02 10:39:47 +02:00
Marco Bascetta 3b5e433241 mmcli: set call-start timeout to 2 minutes 2015-08-02 10:39:47 +02:00
Marco Bascetta 55ae2c7f2f huawei: handle voice call state changes 2015-08-02 10:39:47 +02:00
Riccardo Vangelisti 5a281dbd34 base-call: created an unique function to switch call's state and reason 2015-08-02 10:39:47 +02:00
Marco Bascetta 65a64c9248 core: set number of incoming call 2015-08-02 10:39:47 +02:00
Marco Bascetta ae72922031 huawei: handle custom voice unsolicited events 2015-08-02 10:39:45 +02:00
Riccardo Vangelisti 94c8371076 base-call: fixed bug when hangup call.
Ok, busy and no carrier messages are handled by serial-parser.
2015-08-02 10:39:13 +02:00
Marco Bascetta 6d85146bba core: handle incoming calls (RING/CRING, CLIP, NO CARRIER). 2015-08-02 10:39:13 +02:00
Riccardo Vangelisti c53bc10092 base-call: added deletion of a specified call 2015-08-02 10:39:12 +02:00
Riccardo Vangelisti ecbd146d5a fixes: added voice support in libmm-glib MMManager, also fixed wrong number of parameters in mm-call-list class init 2015-08-02 10:39:12 +02:00
Riccardo Vangelisti 5c9e2488bf build: added voice call include in libmm-glib and modified Makefile.am 2015-08-02 10:39:12 +02:00
Riccardo Vangelisti 5c446c3f43 broadband-modem: added voice call support 2015-08-02 10:39:12 +02:00