aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-03-16nokia: new `MMSimNokia'Aleksander Morgado
Nokia phones don't support AT+CRSM.
2012-03-16nokia: expect only one AT portAleksander Morgado
This speeds up probing, as we cancel other AT probings as soon as we grab the first AT port.
2012-03-16log: only include LOC and method name in debug logs if running with --debugAleksander Morgado
If the modem is started with --log-level=DEBUG, they will not be shown.
2012-03-16base-modem: implement new modem-wide cancellable, and rework AT commandsAleksander Morgado
Instead of the `_in_port()' variants, we'll provide more generic `_full()' methods. These should be used either if we want to send commands to a specific port, or if we want to use a specific user-provided GCancellable. In addition to this user-provided GCancellable, we keep the internal modem-wide one.
2012-03-16base-modem: new modem-wide cancellable, passed to every state machineAleksander Morgado
2012-03-16base-modem-at: set error if NULL port detectedAleksander Morgado
Users of mm_base_modem_at_command_in_port() can now directly pass the result of mm_base_modem_peek_port_primary() or mm_base_modem_peek_port_secondary(), which may be NULL if no such port exists in the modem. So we'll gracefully detect the NULL port and complete the async operation with an error.
2012-03-16base-modem: new port getters and peekersAleksander Morgado
* mm_base_modem_peek_port_* () will return either a port object (no new reference), or NULL if none available. You would usually peek() a port if you're going to use it just in the current method, as there is no way to that reference to get invalid (we're single threaded). * mm_base_modem_get_port_* () will return either NEW references to valid port objects, or NULL if none available. And, you would usually get() a port, whenever you want the port object to be valid even out of the current method, for example when keeping it in the context of an async operation. Also, we need to consider that the primary AT port MAY BE NULL when you peek() or get() it. This is due to the fact that we may be releasing ports (due to device disconnection) in the middle of async operations.
2012-03-16serial-port: forcing to close a port is an internal operationAleksander Morgado
Ports being forced to get closed will only happen when we get a HUP error in the serial port (e.g. device got disconnected).
2012-03-16serial-port: don't warn when trying to close a port which was forced to be ↵Aleksander Morgado
closed
2012-03-16base-modem: when getting best AT port, assume we may have lost specific portsAleksander Morgado
Don't assume that primary port is always set.
2012-03-16plugin-base: handle the case of expecting a single AT portAleksander Morgado
If we only expect a single AT port, we'll cancel all remaining AT port probings in the other ports, as soon as we get the first one.
2012-03-16port-probe: allow cancelling all AT probing stepsAleksander Morgado
2012-03-16plugin-base: new property to specify that only one single AT port is expectedAleksander Morgado
Will allow us to cancel other AT probings as soon as the first AT port is grabbed.
2012-03-16port-probe: refactor AT command handlingAleksander Morgado
Make it use a GVariant in the response processor, as the AT command handling in the MMBaseModem.
2012-03-16TODO: new task to consolidate the serial parser as a GObjectAleksander Morgado
2012-03-16serial-parsers: new method to check if a given error was set by the parserAleksander Morgado
2012-03-16at-serial-port: allow cancelling the response timeoutAleksander Morgado
2012-03-16qcdm-serial-port: allow cancelling the response timeoutAleksander Morgado
2012-03-16serial-port: allow cancelling the response timeoutAleksander Morgado
2012-03-16serial-parsers: remove v0 and v1_e1 parsers, which are unusedAleksander Morgado
Given that we now perform our own built-in echo removal in the v1 parser, we no longer need the v1_e1 parser. The v0 parser was also unused from long ago.
2012-03-16port-probe: log the list of probing tasks to be runAleksander Morgado
2012-03-16port-probe: convert port probe flags to a private enumAleksander Morgado
2012-03-16TODO: time interface and own numbers now doneAleksander Morgado
2012-03-16mmcli: new Time-specific actionsAleksander Morgado
2012-03-16libmm-glib: implement Time interface specific actionsAleksander Morgado
2012-03-16mmcli: print own numbers in modem infoAleksander Morgado
2012-03-16libmm-glib: add support to retrieve own numbersAleksander Morgado
2012-03-16modem-helpers: refactor and reorganize sourcesAleksander Morgado
2012-03-16broadband-modem: implement own numbers generic loadingAleksander Morgado
2012-03-16modem-helpers: new +CNUM response parser and testsAleksander Morgado
2012-03-16tests,modem-helpers: cleanup testsAleksander Morgado
Properly order the tests in blocks, and ensure that the common data for registration tests is not passed to other non-registration related tests.
2012-03-16test,modem-helpers: remove conditional compilationAleksander Morgado
We require already GLib 2.30
2012-03-16iface-modem: setup loading of own numbers during the initialization phaseAleksander Morgado
2012-03-16api,dbus: new `OwnNumbers' property in the Modem interfaceAleksander Morgado
2012-03-16cinterion: no need to complete in idle in sleep_ready()Aleksander Morgado
2012-03-16messaging: part index may be repeated in different storagesAleksander Morgado
2012-03-16time: removed old interface sourcesAleksander Morgado
2012-03-16iface-modem-time: setup generic unsolicited message handlingAleksander Morgado
Modems may get notified via unsolicited messages (either AT or QMI or some other thing), that the network time was updated. This setup allows subclasses implementing the Time interface to setup/cleanup and enable/disable the unsolicited messages, as well as notify about the network time updates.
2012-03-16iface-modem-time: handle `GetNetworkTime'Aleksander Morgado
2012-03-16iface-modem-time: only retry if MM_CORE_ERROR_RETRY was returnedAleksander Morgado
We don't want to retry if the error is fatal in some other kind, e.g. a reply parsing error or something.
2012-03-16api,errors: new `MM_CORE_ERROR_RETRY'Aleksander Morgado
Lets operations specify that they cannot be run currently, but that the caller may retry later. Of course, it depends on the caller to really honour the retry-later suggestion.
2012-03-16iface-modem-time: load network timezone informationAleksander Morgado
Following the same logic as in the original implementation, we try to load the network timezone information only after being registered, and also with up to N retries. The async operation in charge of the loading can be cancelled gracefully, i.e. if the interface is disabled before we get ever registered.
2012-03-16broadband-modem: implement the Time interfaceAleksander Morgado
2012-03-16iface-modem-time: new interface to handle the Time DBus interfaceAleksander Morgado
2012-03-16libmm-common: new `MMNetworkTimezone' helper objectAleksander Morgado
2012-03-16api,dbus: rewrote Time interface to be used with gdbus-codegenAleksander Morgado
2012-03-16docs: new section about plugin-specific modemsAleksander Morgado
2012-03-16plugin-manager: avoid race when port deferred until suggested and suggestion ↵Aleksander Morgado
already there It may happen that we launch the supports task in the port AFTER having received the suggestion.
2012-03-16plugin-base: log also when starting to check supportAleksander Morgado
So that we get logs when net ports are being checked for support, which won't be probed.
2012-03-16iface-modem: fix signal nameAleksander Morgado