aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-08-06plugin-manager: remove unneeded methodsAleksander Morgado
We no longer need to query the plugin manager whether we're checking support for a specific port, as the ports are now grabbed only once in the MMDevice, and therefore we ensure that supports check is launched only once in the PluginManager for that specific port. Also, we no longer need to query the plugin manager whether we're checking support for a given device, as the logic to check when all ports of the device are probed is now maintained internally.
2012-08-06plugin-manager: define a minimum probing time of 2sAleksander Morgado
Effectively, we're now letting the kernel up to 2s to show all the ports of the device, starting from the time where the first port is exposed.
2012-08-06manager: use the new method to check support of a given full deviceAleksander Morgado
2012-08-06plugin-manager: new method to check support for a given device and all its portsAleksander Morgado
The new `mm_plugin_manager_find_device_support()' will be an async method which waits for ports to be added in the given `MMDevice'. As soon as all added ports are probed, the device support check is considered finished.
2012-08-06plugin-base: don't assume a plugin will give as supported all ports of the ↵Aleksander Morgado
device E.g. the Generic plugin will give as unsupported 'net' ports found in the device, as it doesn't know how to use them.
2012-08-06device: signal grabbed/released portsAleksander Morgado
2012-08-06device: load driver being used when first port grabbedAleksander Morgado
2012-08-06device: keep sysfs path around for loggingAleksander Morgado
2012-08-06device: split `MMDevice' creation and plugin settingAleksander Morgado
We want to be able to create the MMDevice way before we have decided which plugin to use.
2012-08-06core: compile all ports before creating the modem objectAleksander Morgado
Before this, we only exported the modem to DBus when all ports were organized, in order to make sure that we select as primary port the one we really want and not the first AT port grabbed. Given that to get all the ports organized we also needed to wait to get all the ports grabbed, we can now also defer the creation of the modem object until all the ports get grabbed. This allows us to create different types of objects based on the ports available (e.g. we can now create QMI-supported modem objects if we see a QMI port around).
2012-08-02build: remove duplicate `--with-docs' switchAleksander Morgado
2012-08-02iface-modem: don't process signal/act updates if interface is shut downAleksander Morgado
When the interface is shut down the skeleton object no longer exists. Given that we're allowing this actions from outside the interface, we should be safe and don't assume that the caller knows exactly the state of the interface.
2012-08-02iface-modem: fix crashes due to removed contextBen Chan
2012-07-31bearer: set state as DISCONNECTING as soon as we cancel the connection sequenceAleksander Morgado
Just when we request to cancel the connection we need to set the bearer as being disconnected, so that we do not end up overwriting connection cancellation requests. Reported by: Thieu Le <thieule@chromium.org>
2012-07-31cli,libmm-glib: provide mm_manager_(peek|get)_proxy()Aleksander Morgado
peek() doesn't increase the reference count of the proxy object, while get() does it.
2012-07-31cli,libmm-glib: set default timeout on manager DBus proxyBen Chan
This patch fixes mmcli to set the default timeout on the manager proxy interface (MmGdbusOrgFreedesktopModemManager1) instead of MMManager itself. The later is not a GDBusProxy object.
2012-07-26iface-modem: SIM-PIN2 lock takes us to disabled state, not lockedAleksander Morgado
2012-07-26sim: getting SIM-PIN2 lock doesn't mean PIN sending failedAleksander Morgado
2012-07-25iface-modem-3gpp: fix variant ref countAleksander Morgado
2012-07-25cli: get AT command timeout directly from our default operation timeoutAleksander Morgado
We remove the `--command-timeout' option, as the AT command timeout is now directly computed from our default DBus timeout (modifiable with `--timeout').
2012-07-25libmm-glib: don't change default DBus timeout when running Modem.Command()Aleksander Morgado
Just warn if the default DBus timeout is shorter than the one being requested.
2012-07-25cli: allow modifying default DBus timeout with `--timeout'Aleksander Morgado
By default 30s will be used for every operation.
2012-07-25cli: fix showing CDMA related info in sync modeAleksander Morgado
2012-07-25cli: ensure modem is enabled when performing actionsAleksander Morgado
Don't rely on the lock status, as the modem may say it requires SIM PIN 2, but we're allowed to run most operations even with that unlock required.
2012-07-22broadband-modem: fallback to unencoded command in USSD if encoded failsAleksander Morgado
2012-07-22broadband-bearer: debug logs when disconnecting 3GPP bearerAleksander Morgado
2012-07-22broadband-modem: assume CS if 2G supportedAleksander Morgado
2012-07-22iface-modem: new async method to be run just after the successful SIM unlockAleksander Morgado
2012-07-22mm-broadband-modem: fix result completion on hex encoding errorsAleksander Morgado
2012-07-22mm-broadband-modem: fix USSD command sending, don't use cached AT repliesAleksander Morgado
2012-07-22broadband-modem: cancel pending USSD request if USSD session cancelledAleksander Morgado
2012-07-22iface-modem-3gpp-ussd: set proper initial session stateAleksander Morgado
2012-07-22iface-modem-3gpp-ussd: don't allow USSD actions if the modem is not enabledAleksander Morgado
2012-07-22messaging: don't treat as fatal error if we cannot read from a given storageAleksander Morgado
2012-07-21broadband-bearer: fix missing methodAleksander Morgado
It was wrongly removed in commit 2506e3093e9cc47bc03e34b0dd9c58c13469aec5.
2012-07-21doc: include missing description of the new LTE bandsAleksander Morgado
2012-07-19broadband-modem: send always ATZ aloneAleksander Morgado
ITU rec v.250 (6.1.1) says: The DTE should not include additional commands on the same command line after the Z command because such commands may be ignored.
2012-07-19hso: use common integer string parsersAleksander Morgado
2012-07-19hso: unsolicited %IPDPACT may come before the AT command replyAleksander Morgado
2012-07-19hso: plug memleak when finishing dialling with errorAleksander Morgado
2012-07-19hso: fix cid to report toAleksander Morgado
2012-07-18serial: fix AT port carriage return handlingDan Williams
Off-by-one, fix it.
2012-07-18api,header: add LTE specific bands in `MMModemBand'Aleksander Morgado
2012-07-18api,header: fix description of `MMModemBand'Aleksander Morgado
It was a bitmask once...
2012-07-17decode: handle another UsbSnoop URB functionDan Williams
2012-07-17iface-modem-messaging: check if supported storage is allocated before useBen Chan
load_supported_storages may fail, which results in unallocated storage memory. This patch modifies load_initial_sms_parts_from_storages and is_storage_supported to handle that gracefully.
2012-07-16broadband-modem: remove `USE_WS46' propertyAleksander Morgado
3GPP modems will all try to use AT+WS46=? by default to gather supported modes.
2012-07-16broadband-modem: try to guess more specific 2G/3G/4G mode supportAleksander Morgado
For 3GPP modems, we'll try with AT+WS46=?, which is the standard command to query supported networks. If it returns error, we'll fallback to the defaults. For CDMA modems, we'll try to gather CDMA1x and/or EV-DO support directly from the AT+GCAP response.
2012-07-16iface-modem-cdma: new steps to setup/cleanup unsolicited messagesAleksander Morgado
2012-07-13iface-modem-[3gpp|cdma]: remove contexts with timeouts when shutting downAleksander Morgado
Following the same logic as in commit 9ddcf92a, those contexts in the interface which contain the setup of a timeout are cleared before removing the DBus skeleton objects, so that we make sure they are not fired out once these have been disposed.