Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-03-16 | nokia: new `MMSimNokia' | Aleksander Morgado | |
Nokia phones don't support AT+CRSM. | |||
2012-03-16 | nokia: expect only one AT port | Aleksander Morgado | |
This speeds up probing, as we cancel other AT probings as soon as we grab the first AT port. | |||
2012-03-16 | log: only include LOC and method name in debug logs if running with --debug | Aleksander Morgado | |
If the modem is started with --log-level=DEBUG, they will not be shown. | |||
2012-03-16 | base-modem: implement new modem-wide cancellable, and rework AT commands | Aleksander 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-16 | base-modem: new modem-wide cancellable, passed to every state machine | Aleksander Morgado | |
2012-03-16 | base-modem-at: set error if NULL port detected | Aleksander 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-16 | base-modem: new port getters and peekers | Aleksander 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-16 | serial-port: forcing to close a port is an internal operation | Aleksander 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-16 | serial-port: don't warn when trying to close a port which was forced to be ↵ | Aleksander Morgado | |
closed | |||
2012-03-16 | base-modem: when getting best AT port, assume we may have lost specific ports | Aleksander Morgado | |
Don't assume that primary port is always set. | |||
2012-03-16 | plugin-base: handle the case of expecting a single AT port | Aleksander 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-16 | port-probe: allow cancelling all AT probing steps | Aleksander Morgado | |
2012-03-16 | plugin-base: new property to specify that only one single AT port is expected | Aleksander Morgado | |
Will allow us to cancel other AT probings as soon as the first AT port is grabbed. | |||
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 | TODO: new task to consolidate the serial parser as a GObject | Aleksander Morgado | |
2012-03-16 | serial-parsers: new method to check if a given error was set by the parser | Aleksander Morgado | |
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 | serial-port: allow cancelling the response timeout | Aleksander Morgado | |
2012-03-16 | serial-parsers: remove v0 and v1_e1 parsers, which are unused | Aleksander 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-16 | port-probe: log the list of probing tasks to be run | Aleksander Morgado | |
2012-03-16 | port-probe: convert port probe flags to a private enum | Aleksander Morgado | |
2012-03-16 | TODO: time interface and own numbers now done | Aleksander Morgado | |
2012-03-16 | mmcli: new Time-specific actions | Aleksander Morgado | |
2012-03-16 | libmm-glib: implement Time interface specific actions | Aleksander Morgado | |
2012-03-16 | mmcli: print own numbers in modem info | Aleksander Morgado | |
2012-03-16 | libmm-glib: add support to retrieve own numbers | Aleksander Morgado | |
2012-03-16 | modem-helpers: refactor and reorganize sources | Aleksander Morgado | |
2012-03-16 | broadband-modem: implement own numbers generic loading | Aleksander Morgado | |
2012-03-16 | modem-helpers: new +CNUM response parser and tests | Aleksander Morgado | |
2012-03-16 | tests,modem-helpers: cleanup tests | Aleksander 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-16 | test,modem-helpers: remove conditional compilation | Aleksander Morgado | |
We require already GLib 2.30 | |||
2012-03-16 | iface-modem: setup loading of own numbers during the initialization phase | Aleksander Morgado | |
2012-03-16 | api,dbus: new `OwnNumbers' property in the Modem interface | Aleksander Morgado | |
2012-03-16 | cinterion: no need to complete in idle in sleep_ready() | Aleksander Morgado | |
2012-03-16 | messaging: part index may be repeated in different storages | Aleksander Morgado | |
2012-03-16 | time: removed old interface sources | Aleksander Morgado | |
2012-03-16 | iface-modem-time: setup generic unsolicited message handling | Aleksander 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-16 | iface-modem-time: handle `GetNetworkTime' | Aleksander Morgado | |
2012-03-16 | iface-modem-time: only retry if MM_CORE_ERROR_RETRY was returned | Aleksander 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-16 | api,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-16 | iface-modem-time: load network timezone information | Aleksander 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-16 | broadband-modem: implement the Time interface | Aleksander Morgado | |
2012-03-16 | iface-modem-time: new interface to handle the Time DBus interface | Aleksander Morgado | |
2012-03-16 | libmm-common: new `MMNetworkTimezone' helper object | Aleksander Morgado | |
2012-03-16 | api,dbus: rewrote Time interface to be used with gdbus-codegen | Aleksander Morgado | |
2012-03-16 | docs: new section about plugin-specific modems | Aleksander Morgado | |
2012-03-16 | plugin-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-16 | plugin-base: log also when starting to check support | Aleksander Morgado | |
So that we get logs when net ports are being checked for support, which won't be probed. | |||
2012-03-16 | iface-modem: fix signal name | Aleksander Morgado | |