aboutsummaryrefslogtreecommitdiff
path: root/include/ModemManager-errors.h
AgeCommit message (Collapse)Author
2023-10-27api,errors: new MMCarrierLockError typeAleksander Morgado
This new error type will be used to report errors in the carrier lock operations performed through ModemManager. They have a one to one mapping to the MBIM status specific errors.
2023-10-26api,errors: add generic MM_CORE_ERROR_THROTTLED errorAleksander Morgado
Will be used to report operations that are not run as they have been attempted too many times already. Modems will usually report this kind of error e.g. when attempting to connect with the same invalid APN too many times. The modem at some point decides that it won't attempt the APN connection with the network any more, so it returns this error to the caller right away.
2023-10-26api,errors: add generic MM_CORE_ERROR_PROTOCOL errorAleksander Morgado
Will be used to report control protocol failures detected in the communication with the device (e.g. malformed QMI or MBIM messages, and so on).
2023-10-26api,errors: add generic MM_CORE_ERROR_TIMEOUT errorAleksander Morgado
Will be used to report operation timeout errors.
2023-05-12broadband-modem-mbim: account for race condition in quick hot swap caseNagi Marupaka
On MBIM modems, when the SIM is ejected and re-inserted in a quick manner, the state machine logic encounters a race condition and eventually, the modem response for subscriber status is ignored. This change accounts for that state transition without erroring out. Fixes #672.
2022-05-25iface-modem: fail initialization if eSIM without profilesAleksander Morgado
A modem using an eSIM without profiles should not be allowed to get enabled, it should be really treated as a modem without a physical SIM.
2021-05-22api,errors: document all DBus error name prefixesAleksander Morgado
Since ModemManager 1.0 we were publishing symbols to identify all the possible DBus error name prefixes, but these were never documented, they were explicitly ignored in gtk-doc. Let's provide proper documentation for them and make them first-class API symbols.
2021-05-22api: update MMMobileEquipmentError enum valuesAleksander Morgado
Update the list of mobile equipment error codes according to v17.1.0 of 3GPP TS 27.007 (March 2021). A lot of the enum values that were prefixed with the 'GPRS_' keyword have now been flagged as deprecated, and a new enum name given to the corresponding value. The deprecated symbol names are kept in the compat support to avoid breaking API/ABI.
2019-12-16include,errors: define +CME ERROR code 151 equal to 171Aleksander Morgado
When the MT detects an attempt to disconnect the last PDN or when the network returns a response message with cause value #49, the "Last PDN disconnection not allowed" error is returned. The numeric error code was changed from 151 to 171 in 3GPP Rel-11, and therefore there are devices out there that would conform to Rel-10 or below and that would report +CME ERROR code 151 instead of 171. Given that 151 isn't defined to a different meaning in the specs, let's define it in the same way as 171.
2019-10-24docs,api: provide per-version indicesAleksander Morgado
2018-05-24include: fix up whitespaceDan Williams
2018-05-22include: add more 3GPP errorsDan Williams
From 3GPP TS 27.007 version 11.6.0 Release 11, sections 9.2.1, 9.2.2.1, 9.2.2.2, and 9.2.2.3.
2014-10-15qcdm: don't retry probing if QCDM unescaping failsAleksander Morgado
But keep the retries when the frame marker isn't found. https://bugzilla.gnome.org/show_bug.cgi?id=708861
2014-05-29api,doc: add missing documentation for the new GPRS errorsAleksander Morgado
2014-05-07api,errors: define new EPS-related errorsDan Williams
We can use these to return better error messages if an operator does not support the default subscription APN functionality, and the user does not give us an APN.
2013-08-14api: Change error enum nicksAleksander Morgado
Introspection can't copy with a '.' in the value nicks, so just remove those. Note: This could be considered an ABI break! Bug #705641. Patch based on a previous one from Christian Persch <chpe@gnome.org>.
2013-04-17api,errors: define new GPRS related errorsAleksander Morgado
2013-04-04port-probe: add a new serial parser filter to detect non-AT stringsAleksander Morgado
We will check each string with our custom filter before even trying to parse them. A MM_SERIAL_ERROR_PARSE_FAILED error will be issued whenever the string doesn't match the filter.
2012-10-04api: only allow including `ModemManager.h' directlyAleksander Morgado
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-03-16build: autogenerate `mm-errors-quarks.c'Aleksander Morgado
We define custom nicks for each error enum, matching the DBus error entry that we want to have with each of them.
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-15api,header: treat CDMA activation errors as any other errorAleksander Morgado
2012-03-15errors: new TOO_MANY and NOT_FOUND core errorsAleksander Morgado
2012-03-15errors: new MM_CORE_ERROR_CONNECTED errorAleksander Morgado
To be returned when we try to send an AT command to a modem, but there is no usable AT port available, as the primary port is connected (hence the name) and there is no secondary port.
2012-03-15api,errors: implement all errors from the new APIAleksander Morgado
Errors that will/may be reported via DBus are defined in the public interface header.