Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-08-06 | port-probe: let us peek the `MMDevice' owning the probe from the probe itself | Aleksander Morgado | |
2012-08-06 | plugin: new `MM_PLUGIN_CUSTOM_INIT' property | Aleksander Morgado | |
We let plugins execute some custom initialization in the ports, specified by a `MMAsyncMethod'. | |||
2012-08-06 | plugin: renamed `custom-init' property to `custom-at-probe' | Aleksander Morgado | |
The `custom-at-probe' property is just to modify the way we check for AT port support. | |||
2012-08-06 | port-probe: setup the port object as a property | Aleksander Morgado | |
2012-08-06 | port-probe: no need to keep our internal copies of subsys/name | Aleksander Morgado | |
2012-08-06 | port-probe: no need to keep neither physdev path nor driver | Aleksander Morgado | |
2012-08-06 | port-probe: don't warn if requesting info which wasn't probed | Aleksander Morgado | |
2012-08-06 | port-probe: use dispose() to cleanup internal object references | Aleksander Morgado | |
2012-08-06 | port-probe: new method to check if there is an AT port in a list of probes | Aleksander Morgado | |
2012-08-06 | port-probe: rename _get_port() to _peek_port() as there is no ownership transfer | Aleksander Morgado | |
2012-07-12 | port-probe: fix crash in serial_probe_at_parse_response due to NULL response | Ben Chan | |
When the serial port is not open, internal_queue_command (mm-serial-port.c) invokes serial_probe_at_parse_response (mm-port-probe.c) with a NULL response. This patch modifies serial_probe_at_parse_response to handle NULL response properly. | |||
2012-03-28 | port: new `MM_PORT_TYPE_NET' for pure net devices | Aleksander Morgado | |
Net devices will be MMPorts of type MM_PORT_TYPE_NET. | |||
2012-03-23 | port-probe: don't probe product string if vendor string probing failed | Aleksander Morgado | |
2012-03-23 | port-probe: probed vendor/product string will be NULL when error probing | Aleksander Morgado | |
2012-03-16 | port-probe: new probing result setters | Aleksander Morgado | |
We make them public, so that we can set results before actually running the probing. | |||
2012-03-16 | port-probe: probing may just require vendor or product probing | Aleksander Morgado | |
If we already had probed, e.g. AT capabilities, and a next plugin requires Vendor AT probing, the task will only show that VENDOR_AT is requested. | |||
2012-03-16 | port-probe: allow cancelling all AT probing steps | Aleksander Morgado | |
2012-03-16 | port-probe: refactor AT command handling | Aleksander Morgado | |
Make it use a GVariant in the response processor, as the AT command handling in the MMBaseModem. | |||
2012-03-16 | at-serial-port: allow cancelling the response timeout | Aleksander Morgado | |
2012-03-16 | qcdm-serial-port: allow cancelling the response timeout | Aleksander Morgado | |
2012-03-16 | port-probe: log the list of probing tasks to be run | Aleksander Morgado | |
2012-03-15 | core: rework port grabbing and organization | Aleksander Morgado | |
Make port roles more flexible. We have modems that do PPP on interfaces other than the primary interface, and that wasn't possible with the old code. So clean up all that logic and move the port organization code into the core so we can reduce code in the plugins. In the new world order, the plugins say whether the port is a QCDM port, an AT port, or ignored. If it's an AT port the plugins get to tag it as primary, secondary, or PPP, or any combination of the 3. This allows for modems where PPP should really be done on the secondary port (Huawei E220, Sierra devices) so that the primary port stays open for command and status. After all ports are grabbed by the generic classes, they get "organized", which assigns various ports to the roles of PRIMARY, SECONDARY, DATA, and QCDM based on specific rules and hints that the plugin provided (which are expressed as MMAtPortFlags). The plugin code is responsible for determining the port hints (ie MMAtPortFlags) at probe time, instead of having a combination of the plugin and the modem class do the job. This simplifies things greatly for the plugins at the expense of more complicated logic in the core. This is the port of commit 96505d42ed62327101dcee7c2bf31177b0bb1c9f to the 06-api branch. | |||
2012-03-15 | at-serial-port: no need to pass port type when creating the object | Aleksander Morgado | |
We'll just specify the port is AT, not primary or secondary | |||
2012-03-15 | qcdm-serial-port: no need to pass port type when creating the object | Aleksander Morgado | |
2012-03-15 | port-probe: avoid warnings when probe was for a net device | Aleksander Morgado | |
net devices aren't really probed | |||
2012-03-15 | port-probe: store the task always before completing it | Aleksander Morgado | |
If we already got all needed probing results, we complete the task without launching any new probing, but still, we need to store it internally so that it's properly disposed. | |||
2012-03-15 | port-probe: always complete probing task in idle | Aleksander Morgado | |
2012-03-15 | port-probe: plug small leak when reporting error in AT command response | Aleksander Morgado | |
2012-03-15 | core: start using our newly defined errors | Aleksander Morgado | |
2012-03-15 | core: no need to check Capabilities during port probing | Aleksander Morgado | |
Capabilities checking is done during the Modem interface initialization. | |||
2012-03-15 | port-probe: properly handle Core errors | Aleksander Morgado | |
Fixes compilation of the Port Probe object. | |||
2012-03-15 | port-probe: add comment explaining the probing process flow | Aleksander Morgado | |
2012-03-15 | port-probe: allow providing custom initialization AT commands | Aleksander Morgado | |
2012-03-15 | port-probe: enable probing for QCDM support | Aleksander Morgado | |
2012-03-15 | port-probe: enable probing for Product | Aleksander Morgado | |
2012-03-15 | port-probe: enable probing for Vendor | Aleksander Morgado | |
2012-03-15 | port-probe: enable probing for Capabilities | Aleksander Morgado | |
2012-03-15 | port-probe: enable probing for AT support | Aleksander Morgado | |
We will initially probe for AT support in the port. | |||
2012-03-15 | port-probe: allow cancelling the probing operation | Aleksander Morgado | |
The new `mm_port_probe_cancel()' will cancel the probing operation currently in progress, if any. Note that we don't need to pass any argument to specify which operation to cancel, as there can only be one. | |||
2012-03-15 | port-probe: setup an asynchronous method for port probing | Aleksander Morgado | |
The new method `mm_port_probe_run()' will run the whole probing process asynchronously. Result of the probing can be later obtained with `mm_port_probe_run_finish()'. | |||
2012-03-15 | port-probe: set port details when creating the object | Aleksander Morgado | |
Each port probe is always associated to one specific port. | |||
2012-03-15 | port-probe: new MMPortProbe object | Aleksander Morgado | |