aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-modem.c
AgeCommit message (Collapse)Author
2013-02-22api: notify in the interface about the reason why the modem is FAILEDAleksander Morgado
We currently implement 'SIM missing' and 'SIM error', which are probably the most common ones.
2013-01-11libmm-glib,modem: new methods to handle the power stateAleksander Morgado
2012-10-19api,modem: new 'PrimaryPort' propertyAleksander Morgado
We do need to specify which is the primary port being used for controlling the modem. This allows us to match the device with an already existing bluetooth device in NetworkManager.
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-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-01libmm-glib,modem: `MMModem' is now a real objectAleksander Morgado
Not just a typedef of the gdbus-codegen generated `MmGdbusModem'.
2012-08-24api,introspection: report list of drivers, not just oneAleksander Morgado
Different ports of the same modem may get handled by different drivers. We therefore need to provide a list of drivers (new `Modem.Drivers' property with signature 'as') instead of just one (removed `Modem.Driver' property with signature 's'). $ sudo mmcli -m 0 | grep drivers | drivers: 'qcserial, qmi_wwan'
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-04-13libmm-glib,modem: mm_modem_{get,dup}_own_numbers(): fix inverted logic.Nathan Williams
The string vector test was reversed, causing valid vectors not to be returned, and commands like mmcli to not display own numbers from a modem. Change-Id: Ia889f49f18511a2dfcdbc71a80ee0239a6c912e0
2012-03-16libmm-glib: add support to retrieve own numbersAleksander Morgado
2012-03-16libmm-common: `MMBearerProperties' won't be considered internal any moreAleksander Morgado
Renamed `MMCommonBearerProperties' to `MMBearerProperties', and removed the `MMBearerProperties' provided in libmm-glib. We'll just use the original one from libmm-common always.
2012-03-16api: `UnlockRetries' will reply a list of per-lock retry countsAleksander Morgado
Equivalent to `PinRetryCount' in the previous API. We don't have an additional property for the retry count of the current lock, as it really is duplicating information.
2012-03-16libmm-glib: set the gdbus timeout to a value longer than that remote ↵Nathan Williams
operation timeout Lets commands like "mmcli -m 0 --command-timeout=60 --command='+COPS=?'" work, instead of tripping over the 25-second gdbus default timeout first. Change-Id: I67034423ca5ab08a07ecf3c9e313082d4860ffb3
2012-03-16api,dbus: rename `AllowedBands' to just `Bands'Aleksander Morgado
ModemManager will load: 1) The list of supported bands. Note that this doesn't mean that any possible combination of bands is supported, as modems may support only specific combinations, but at least gives a rough idea of what the modem is capable of handling. 2) The list of CURRENT bands. There is no such "Allowed" bands, as we do with modes, modems will have a specific set of bands being currently used, which will be reported in the `Bands' property. If the modem allows modifying the list of bands to use, this can be done with the `SetBands()' method. If the modem doesn't support using a specific combination of bands, this method will report an error.
2012-03-15api,dbus: new `Command' method in the API to send arbitrary AT commandsNathan Williams
BUG=chromium-os:25348 TEST="mmcli -m 0 --command='E0'" Change-Id: I320587560fde5780f9d5a4998e32364d36a71ed7
2012-03-15libmm-glib: (trivial) fix some return typesAleksander Morgado
2012-03-15libmm-glib: no need to expose custom flags string buildersAleksander Morgado
2012-03-15libmm-glib: use g_list_free_full() when possibleAleksander Morgado
2012-03-15libmm-common,libmm-glib: new object to handle bearer creation propertiesAleksander Morgado
2012-03-15libmm-common,libmm-glib: new modes string builderAleksander Morgado
2012-03-15libmm-common, libmm-glib: new bands string builderAleksander Morgado
2012-03-15api: MMModemBand is now an enum, not flagsAleksander Morgado
We don't want to handle bands as flags, in order to avoid the need of 64-bits for the enum. This change implies that setting allowed bands will be done by giving an array of uint32 values, signature "au".
2012-03-15libmm-glib: handle new 'allow-roaming' property when creating bearersAleksander Morgado
2012-03-15libmm-glib: new helper method to build a string with access technologiesAleksander Morgado
2012-03-15api,enums: renamed `MMModemAccessTech' to `MMModemAccessTechnology'Aleksander Morgado
This one was the last enum without full name.
2012-03-15api,dbus: renamed `AccessTechnology' to `AccessTechnologies'Aleksander Morgado
We are reporting a bitmask of flags, not just one value.
2012-03-15libmm-glib: get a list of MMBearer objects when listing bearers in the MMModemAleksander Morgado
2012-03-15libmm-glib: get the MMBearer object when creating it in the MMModemAleksander Morgado
2012-03-15libmm-glib: handle bearer creation, deletion and listingAleksander Morgado
2012-03-15libmm-glib: return NULL instead of empty stringsAleksander Morgado
2012-03-15libmm-glib: new API method to build a string of capabilities from a bitmaskAleksander Morgado
2012-03-15libmm-glib: simplify handling of interfacesAleksander Morgado
Avoid trying to merge all interfaces into the same set of APIs, and keep having a specific object (proxy) for each interface handled by the GDBusObjects reported listed by the GDBusObjectManager.
2012-03-15libmm-glib: fix macro implementing async ready callbacksAleksander Morgado
2012-03-15cli: start to port Modem actions to use the new libmm-glibAleksander Morgado
2012-03-15libmm-glib: get the MMSim object from the MMModemAleksander Morgado
2012-03-15libmm-glib: new MMSim objectAleksander Morgado
2012-03-15libmm-glib: new `MMModem' object, handling the Modem interfaceAleksander Morgado