aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-10-04libmm-glib,simple-status: improve documentationAleksander Morgado
2012-10-04libmm-glib,simple-connect-properties: improve documentationAleksander Morgado
2012-10-04libmm-glib,unlock-retries: improve documentationAleksander Morgado
2012-10-04libmm-glib: only allow including `libmm-glib.h' directlyAleksander Morgado
Unless when compiling libmm-glib itself, of course.
2012-10-04libmm-glib: remove the `libmm-common.h' headerAleksander Morgado
Both the ModemManager daemon and the mmcli will now include `libmm-glib.h' only. We also handle two new special `_LIBMM_INSIDE_MM' and `LIBMM_INSIDE_MMCLI' symbols, which if included before the `libmm-glib.h' library allow us to: * Don't include the libmm-glib high level API in the ModemManager daemon, as the object names would clash with those in the core. * Define some of the methods of helper objects to be included only if compiling ModemManager daemon or the mmcli.
2012-10-04libmm-glib,manager: minor indentation fixesAleksander Morgado
2012-10-04build: merge libmm-common into libmm-glibAleksander Morgado
It's pointless to have libmm-common around, just merge it into libmm-glib and make ModemManager depend on libmm-glib directly. At the end, the non-common stuff in libmm-glib is really minimal.
2012-10-04docs,libmm-glib: properly order the sectionsAleksander Morgado
2012-10-04cli: new `--firmware-list' and `--firmware-select' actionsAleksander Morgado
2012-10-04libmm-glib,firmware: new `MMModemFirmware' type to handle the Firmware interfaceAleksander Morgado
2012-10-04libmm-common: new `MMFirmwareProperties' to handle firmare image propertiesAleksander Morgado
2012-10-04api,introspection: simplify the Firmware interfaceAleksander Morgado
The Firmware interface was highly based on 'slots' to identify the existing firmware images; but that doesn't fit very well with the initial implementation of the Firmware interface in QMI-based modems. In these modems the 'storage index' is a property which is not available in all types of images (e.g. 'PRI' images don't have it). Therefore, instead of using a unique 'slot' identifier we'll just use the 'name' of the firmware as unique ID. Also, currently skip the handling of 'available' images, and the method to 'Install()' new images, at least until we have one implementation defining what to do with those.
2012-10-04api,introspection: firmware images require a new `image-type' propertyAleksander Morgado
Image types of `MM_FIRMWARE_IMAGE_TYPE_GENERIC' will expose only the mandatory parameters. Other vendor-specific images may expose other properties.
2012-10-03libmm-glib,sms: `MMSms' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusSms'.
2012-10-03libmm-glib,sim: `MMSim' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusSim'.
2012-10-03libmm-glib,bearer: `MMBearer' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusBearer'.
2012-10-02libmm-glib,time: `MMModemTime' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusModemTime'.
2012-10-02libmm-glib,simple: `MMModemSimple' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusModemSimple'.
2012-10-02libmm-glib,messaging: `MMModemMessaging' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusModemMessaging'.
2012-10-02libmm-glib,location: `MMModemLocation' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusModemLocation'.
2012-10-02libmm-glib,cdma: `MMModemCdma' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusModemCdma'.
2012-10-02libmm-glib,3gpp-ussd: `MMModem3gppUssd' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusModem3gppUssd'.
2012-10-02libmm-glib,3gpp: `MMModem3gpp' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusModem3gpp'.
2012-10-01libmm-glib,modem: `MMModem' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusModem'.
2012-10-01libmm-glib,object: `MMObject' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusObject'.
2012-10-01libmm-glib,manager: cleanup object implementationAleksander Morgado
2012-10-01libmm-glib,manager: allow specifying the generated proxy types ourselvesAleksander Morgado
2012-10-01doc: setup gtk-doc generation for libmm-glibAleksander Morgado
2012-10-01sierra: run power-down during initAleksander Morgado
2012-10-01cinterion: run power-down during initAleksander Morgado
2012-10-01wavecom: run power-down during initAleksander Morgado
2012-10-01nokia: ensure we skip power down during initAleksander Morgado
2012-10-01motorola: ensure we skip power down during initAleksander Morgado
2012-10-01gobi: ensure we skip power down during initAleksander Morgado
2012-10-01iridium: ensure we skip power down during initAleksander Morgado
2012-10-01zte: run power-down during initAleksander Morgado
2012-10-01icera: we won't be implementing power-down during initAleksander Morgado
Some Icera-based modems (e.g. Samsung/Icera Y3300/Y3400) may take a loong time to run the power down command (see commit 5f1a1cf8). So, for these modems we will fully skip the power down command run during initialization.
2012-10-01iface-modem: ensure we're in low power mode when initializingAleksander Morgado
The power-down command defined by the plugin will be run *only* after having checked for current and modem capabilities, as plugins (e.g. Sierra) may have different commands for that depending on whether they are 3GPP or 3GPP2. We do not reuse the 'modem_power_down' callback from the disabling sequence, as some plugins really behave pretty badly with this (e.g. Samsung CFUN=4 may take up to 30s to complete). So, we let plugins use the power-down command when disabling but avoid launching it during init.
2012-09-28broadband-modem: handle unknown errors in AT sequencesAleksander Morgado
When none of the commands in the AT sequence succeeds no error is set.
2012-09-28iface-modem: ensure the state change is flushed before the detailed notifyAleksander Morgado
In order to ease the life for clients listening to the 'state-changed' signal, the change in the 'state' property in the DBus interface skeleton is flushed right away, before emitting 'state-changed'. By doing this we make sure that the 'state-changed' callbacks in the clients are able to see exactly the same current state in the modem proxy.
2012-09-28core: acquire DBus name only after having created the `MMManager'Aleksander Morgado
The `MMManager' is itself also a `GDBusObjectManagerServer'. If we create this object after having fully acquired the bus name, the client application in the other side of the bus could be trying to use the ObjectManager interface before we actually exported it, which is wrong. Therefore, we need to make sure that the Manager interfaces are all exported before the name is acquired.
2012-09-27uml290mode: fix log messageDan Williams
2012-09-27uml290mode: offline and reset modem after making changesDan Williams
2012-09-27qcdm: add qcdm_cmd_control_new() to set operating modeDan Williams
2012-09-24build: use $PKG_CONFIGAleksander Morgado
The build system sets up this variable for us, so use it rather than hardcoding "pkg-config" which might be the wrong one. Equivalent to the one done by Mike Frysinger <vapier@gentoo.org> in libqmi.
2012-09-22broadband-modem: increase timeout for ATZBen Chan
Some modem like Novatel LTE can take up to 5 seconds to complete the ATZ command. Increase the timeout for ATZ from 3 seconds to 6 seconds.
2012-09-22broadband-modem: disconnect bearers only if the bearer list still existsBen Chan
This patch fixes a crash when MMBroadbandModem tries to access an already cleared bearer list during the disabling steps. Thread 0 *CRASHED* ( SIGSEGV @ 0x00000000 ) 0x7f6eed4c40a3 [ModemManager] - mm-bearer-list.c:259 mm_bearer_list_disconnect_all_bearers 0x7f6eed4cd6f8 [ModemManager] - mm-iface-modem.c:1216 handle_enable_auth_ready 0x7f6eed332676 [libgio-2.0.so.0.3000.2] - gsimpleasyncresult.c:749 g_simple_async_result_complete 0x7f6eed4c5750 [ModemManager] - mm-base-modem.c:1015 authorize_ready 0x7f6eed332676 [libgio-2.0.so.0.3000.2] - gsimpleasyncresult.c:749 g_simple_async_result_complete 0x7f6eed332788 [libgio-2.0.so.0.3000.2] - gsimpleasyncresult.c:761 complete_in_idle_cb 0x7f6eecf36f44 [libglib-2.0.so.0.3000.2] - gmain.c:2441 g_main_context_dispatch 0x7f6eecf37597 [libglib-2.0.so.0.3000.2] - gmain.c:3089 g_main_context_iterate 0x7f6eecf37b51 [libglib-2.0.so.0.3000.2] - gmain.c:3297 g_main_loop_run 0x7f6eed4b5ad1 [ModemManager] - main.c:150 main 0x7f6eec95141c [libc-2.15.so] - libc-start.c:234 __libc_start_main 0x7f6eed4b55e8 [ModemManager] + 0x0001a5e8
2012-09-20modem-helpers: handle the case when operator name is "Unknown"Ben Chan
Some modems report "Unknown" as the operator name when failed to obtain the actual value: --> 'AT+COPS=3,0;+COPS?<CR>' <-- '<CR><LF>+COPS: 0,0,"Unknown",0<CR><LF><CR><LF>OK<CR><LF>' This patch prevents "Unknown" from being treated as a valid operator name.
2012-09-19huawei: if port replies to AT^GETPORTMODE, port is ATAleksander Morgado
Just skips the additional check for AT support in the port.
2012-09-19device: if failed to get VID/PID in first port, try the next oneAleksander Morgado
Don't rely only in the first grabbed port to get VID/PID. Some modems, e.g. Huawei E367, won't report a proper VID in the cdc-wdm port, which is the first one probed.