1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * libqmi-glib -- GLib/GIO based library to control QMI devices
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301 USA.
20 * Copyright (C) 2012 Aleksander Morgado <aleksander@lanedo.com>
23 #ifndef _LIBQMI_GLIB_QMI_ERRORS_H_
24 #define _LIBQMI_GLIB_QMI_ERRORS_H_
30 * This section defines common error types used in the interface.
35 * @QMI_CORE_ERROR_FAILED: Operation failed.
36 * @QMI_CORE_ERROR_WRONG_STATE: Operation cannot be executed in the current state.
37 * @QMI_CORE_ERROR_TIMEOUT: Operation timed out.
38 * @QMI_CORE_ERROR_INVALID_ARGS: Invalid arguments given.
39 * @QMI_CORE_ERROR_INVALID_MESSAGE: QMI message is invalid.
40 * @QMI_CORE_ERROR_TLV_NOT_FOUND: TLV not found.
41 * @QMI_CORE_ERROR_TLV_TOO_LONG: TLV is too long.
42 * @QMI_CORE_ERROR_UNSUPPORTED: Not supported.
44 * Common errors that may be reported by libqmi-glib.
46 typedef enum { /*< underscore_name=qmi_core_error >*/
47 QMI_CORE_ERROR_FAILED
= 0, /*< nick=Failed >*/
48 QMI_CORE_ERROR_WRONG_STATE
= 1, /*< nick=WrongState >*/
49 QMI_CORE_ERROR_TIMEOUT
= 2, /*< nick=Timeout >*/
50 QMI_CORE_ERROR_INVALID_ARGS
= 3, /*< nick=InvalidArgs >*/
51 QMI_CORE_ERROR_INVALID_MESSAGE
= 4, /*< nick=InvalidMessage >*/
52 QMI_CORE_ERROR_TLV_NOT_FOUND
= 5, /*< nick=TlvNotFound >*/
53 QMI_CORE_ERROR_TLV_TOO_LONG
= 6, /*< nick=TlvTooLong >*/
54 QMI_CORE_ERROR_UNSUPPORTED
= 7 /*< nick=Unsupported >*/
59 * @QMI_PROTOCOL_ERROR_NONE: No error.
60 * @QMI_PROTOCOL_ERROR_MALFORMED_MESSAGE: Malformed message.
61 * @QMI_PROTOCOL_ERROR_NO_MEMORY: No memory.
62 * @QMI_PROTOCOL_ERROR_INTERNAL: Internal.
63 * @QMI_PROTOCOL_ERROR_ABORTED: Aborted.
64 * @QMI_PROTOCOL_ERROR_CLIENT_IDS_EXHAUSTED: Client IDs exhausted.
65 * @QMI_PROTOCOL_ERROR_UNABORTABLE_TRANSACTION: Unabortable transaction.
66 * @QMI_PROTOCOL_ERROR_INVALID_CLIENT_ID: Invalid client ID.
67 * @QMI_PROTOCOL_ERROR_NO_THRESHOLDS_PROVIDED: No thresholds provided.
68 * @QMI_PROTOCOL_ERROR_INVALID_HANDLE: Invalid handle.
69 * @QMI_PROTOCOL_ERROR_INVALID_PROFILE: Invalid profile.
70 * @QMI_PROTOCOL_ERROR_INVALID_PIN_ID: Invalid PIN ID.
71 * @QMI_PROTOCOL_ERROR_INCORRECT_PIN: Incorrect PIN.
72 * @QMI_PROTOCOL_ERROR_NO_NETWORK_FOUND: No network found.
73 * @QMI_PROTOCOL_ERROR_CALL_FAILED: Call failed.
74 * @QMI_PROTOCOL_ERROR_OUT_OF_CALL: Out of call.
75 * @QMI_PROTOCOL_ERROR_NOT_PROVISIONED: Not provisioned.
76 * @QMI_PROTOCOL_ERROR_MISSING_ARGUMENT: Missing argument.
77 * @QMI_PROTOCOL_ERROR_ARGUMENT_TOO_LONG: Argument too long.
78 * @QMI_PROTOCOL_ERROR_INVALID_TRANSACTION_ID: Invalid transaction ID.
79 * @QMI_PROTOCOL_ERROR_DEVICE_IN_USE: Device in use.
80 * @QMI_PROTOCOL_ERROR_NETWORK_UNSUPPORTED: Network unsupported.
81 * @QMI_PROTOCOL_ERROR_DEVICE_UNSUPPORTED: Device unsupported.
82 * @QMI_PROTOCOL_ERROR_NO_EFFECT: No effect.
83 * @QMI_PROTOCOL_ERROR_NO_FREE_PROFILE: No free profile.
84 * @QMI_PROTOCOL_ERROR_INVALID_PDP_TYPE: Invalid PDP type.
85 * @QMI_PROTOCOL_ERROR_INVALID_TECHNOLOGY_PREFERENCE: Invalid technology preference.
86 * @QMI_PROTOCOL_ERROR_INVALID_PROFILE_TYPE: Invalid profile type.
87 * @QMI_PROTOCOL_ERROR_INVALID_SERVICE_TYPE: Invalid service type.
88 * @QMI_PROTOCOL_ERROR_INVALID_REGISTER_ACTION: Invalid register action.
89 * @QMI_PROTOCOL_ERROR_INVALID_PS_ATTACH_ACTION: Invalid PS attach action.
90 * @QMI_PROTOCOL_ERROR_AUTHENTICATION_FAILED: Authentication failed.
91 * @QMI_PROTOCOL_ERROR_PIN_BLOCKED: PIN blocked.
92 * @QMI_PROTOCOL_ERROR_PIN_ALWAYS_BLOCKED: PIN always blocked.
93 * @QMI_PROTOCOL_ERROR_UIM_UNINITIALIZED: UIM uninitialized.
94 * @QMI_PROTOCOL_ERROR_MAXIMUM_QOS_REQUESTS_IN_USE: Maximum QoS requests in use.
95 * @QMI_PROTOCOL_ERROR_INCORRECT_FLOW_FILTER: Incorrect flow filter.
96 * @QMI_PROTOCOL_ERROR_NETWORK_QOS_UNAWARE: Network QoS unaware.
97 * @QMI_PROTOCOL_ERROR_INVALID_QOS_ID: Invalid QoS ID.
98 * @QMI_PROTOCOL_ERROR_QOS_UNAVAILABLE: QoS unavailable.
99 * @QMI_PROTOCOL_ERROR_FLOW_SUSPENDED: Flow suspended.
100 * @QMI_PROTOCOL_ERROR_GENERAL_ERROR: General error.
101 * @QMI_PROTOCOL_ERROR_UNKNOWN_ERROR: Unknown error.
102 * @QMI_PROTOCOL_ERROR_INVALID_ARGUMENT: Invalid argument.
103 * @QMI_PROTOCOL_ERROR_INVALID_INDEX: Invalid index.
104 * @QMI_PROTOCOL_ERROR_NO_ENTRY: No entry.
105 * @QMI_PROTOCOL_ERROR_DEVICE_STORAGE_FULL: Device storage full.
106 * @QMI_PROTOCOL_ERROR_DEVICE_NOT_READY: Device not ready.
107 * @QMI_PROTOCOL_ERROR_NETWORK_NOT_READY: Network not ready.
108 * @QMI_PROTOCOL_ERROR_WMS_CAUSE_CODE: WMS cause code.
109 * @QMI_PROTOCOL_ERROR_WMS_MESSAGE_NOT_SENT: WMS message not sent.
110 * @QMI_PROTOCOL_ERROR_WMS_MESSAGE_DELIVERY_FAILURE: WMS message delivery failure.
111 * @QMI_PROTOCOL_ERROR_WMS_INVALID_MESSAGE_ID: WMS invalid message ID.
112 * @QMI_PROTOCOL_ERROR_WMS_ENCODING: WMS encoding.
113 * @QMI_PROTOCOL_ERROR_AUTHENTICATION_LOCK: Authentication lock.
114 * @QMI_PROTOCOL_ERROR_INVALID_TRANSITION: Invalid transition.
115 * @QMI_PROTOCOL_ERROR_SESSION_INACTIVE: Session inactive.
116 * @QMI_PROTOCOL_ERROR_SESSION_INVALID: Session invalid.
117 * @QMI_PROTOCOL_ERROR_SESSION_OWNERSHIP: Session ownership.
118 * @QMI_PROTOCOL_ERROR_INSUFFICIENT_RESOURCES: Insufficient resources.
119 * @QMI_PROTOCOL_ERROR_DISABLED: Disabled.
120 * @QMI_PROTOCOL_ERROR_INVALID_OPERATION: Invalid operation.
121 * @QMI_PROTOCOL_ERROR_INVALID_QMI_COMMAND: Invalid QMI command.
122 * @QMI_PROTOCOL_ERROR_WMS_T_PDU_TYPE: WMS T-PDU type.
123 * @QMI_PROTOCOL_ERROR_WMS_SMSC_ADDRESS: WMS SMSC address.
124 * @QMI_PROTOCOL_ERROR_INFORMATION_UNAVAILABLE: Information unavailable.
125 * @QMI_PROTOCOL_ERROR_SEGMENT_TOO_LONG: Segment too long.
126 * @QMI_PROTOCOL_ERROR_SEGMENT_ORDER: Segment order.
127 * @QMI_PROTOCOL_ERROR_BUNDLING_NOT_SUPPORTED: Bundling not supported.
128 * @QMI_PROTOCOL_ERROR_POLICY_MISMATCH: Policy mismatch.
129 * @QMI_PROTOCOL_ERROR_SIM_FILE_NOT_FOUND: SIM file not found.
130 * @QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL: Extended internal error.
131 * @QMI_PROTOCOL_ERROR_ACCESS_DENIED: Access denied.
132 * @QMI_PROTOCOL_ERROR_HARDWARE_RESTRICTED: Hardware restricted.
133 * @QMI_PROTOCOL_ERROR_ACK_NOT_SENT: ACK not sent.
134 * @QMI_PROTOCOL_ERROR_INJECT_TIMEOUT: Inject timeout.
135 * @QMI_PROTOCOL_ERROR_INCOMPATIBLE_STATE: Incompatible state.
136 * @QMI_PROTOCOL_ERROR_FDN_RESTRICT: FDN restrict.
137 * @QMI_PROTOCOL_ERROR_SUPS_FAILURE_CASE: SUPS failure case.
138 * @QMI_PROTOCOL_ERROR_NO_RADIO: No radio.
139 * @QMI_PROTOCOL_ERROR_NOT_SUPPORTED: Not supported.
140 * @QMI_PROTOCOL_ERROR_NO_SUBSCRIPTION: No subscription.
141 * @QMI_PROTOCOL_ERROR_CARD_CALL_CONTROL_FAILED: Card call control failed.
142 * @QMI_PROTOCOL_ERROR_NETWORK_ABORTED: Network aborted.
143 * @QMI_PROTOCOL_ERROR_MSG_BLOCKED: Message blocked.
144 * @QMI_PROTOCOL_ERROR_INVALID_SESSION_TYPE: Invalid session type.
145 * @QMI_PROTOCOL_ERROR_INVALID_PB_TYPE: Invalid PB type.
146 * @QMI_PROTOCOL_ERROR_NO_SIM: No SIM.
147 * @QMI_PROTOCOL_ERROR_PB_NOT_READY: PB not ready.
148 * @QMI_PROTOCOL_ERROR_PIN_RESTRICTION: PIN restriction.
149 * @QMI_PROTOCOL_ERROR_PIN2_RESTRICTION: PIN2 restriction.
150 * @QMI_PROTOCOL_ERROR_PUK_RESTRICTION: PUK restriction.
151 * @QMI_PROTOCOL_ERROR_PUK2_RESTRICTION: PUK2 restriction.
152 * @QMI_PROTOCOL_ERROR_PB_ACCESS_RESTRICTED: PB access restricted.
153 * @QMI_PROTOCOL_ERROR_PB_TEXT_TOO_LONG: PB text too long.
154 * @QMI_PROTOCOL_ERROR_PB_NUMBER_TOO_LONG: PB number too long.
155 * @QMI_PROTOCOL_ERROR_PB_HIDDEN_KEY_RESTRICTION: PB hidden key restriction.
156 * @QMI_PROTOCOL_ERROR_CAT_EVENT_REGISTRATION_FAILED: Event registration failed.
157 * @QMI_PROTOCOL_ERROR_CAT_INVALID_TERMINAL_RESPONSE: Invalid terminal response.
158 * @QMI_PROTOCOL_ERROR_CAT_INVALID_ENVELOPE_COMMAND: Invalid envelope command.
159 * @QMI_PROTOCOL_ERROR_CAT_ENVELOPE_COMMAND_BUSY: Envelope command busy.
160 * @QMI_PROTOCOL_ERROR_CAT_ENVELOPE_COMMAND_FAILED: Envelope command failed.
162 * QMI protocol errors.
164 typedef enum { /*< underscore_name=qmi_protocol_error >*/
165 QMI_PROTOCOL_ERROR_NONE
= 0, /*< nick=None >*/
166 QMI_PROTOCOL_ERROR_MALFORMED_MESSAGE
= 1, /*< nick=MalformedMessage >*/
167 QMI_PROTOCOL_ERROR_NO_MEMORY
= 2, /*< nick=NoMemory >*/
168 QMI_PROTOCOL_ERROR_INTERNAL
= 3, /*< nick=Internal >*/
169 QMI_PROTOCOL_ERROR_ABORTED
= 4, /*< nick=Aborted >*/
170 QMI_PROTOCOL_ERROR_CLIENT_IDS_EXHAUSTED
= 5, /*< nick=ClientIdsExhausted >*/
171 QMI_PROTOCOL_ERROR_UNABORTABLE_TRANSACTION
= 6, /*< nick=UnabortableTransaction >*/
172 QMI_PROTOCOL_ERROR_INVALID_CLIENT_ID
= 7, /*< nick=InvalidClientId >*/
173 QMI_PROTOCOL_ERROR_NO_THRESHOLDS_PROVIDED
= 8, /*< nick=NoThresholdsProvided >*/
174 QMI_PROTOCOL_ERROR_INVALID_HANDLE
= 9, /*< nick=InvalidHandle >*/
175 QMI_PROTOCOL_ERROR_INVALID_PROFILE
= 10, /*< nick=InvalidProfile >*/
176 QMI_PROTOCOL_ERROR_INVALID_PIN_ID
= 11, /*< nick=InvalidPinId >*/
177 QMI_PROTOCOL_ERROR_INCORRECT_PIN
= 12, /*< nick=IncorrectPin >*/
178 QMI_PROTOCOL_ERROR_NO_NETWORK_FOUND
= 13, /*< nick=NoNetworkFound >*/
179 QMI_PROTOCOL_ERROR_CALL_FAILED
= 14, /*< nick=CallFailed >*/
180 QMI_PROTOCOL_ERROR_OUT_OF_CALL
= 15, /*< nick=OutOfCall >*/
181 QMI_PROTOCOL_ERROR_NOT_PROVISIONED
= 16, /*< nick=NotProvisioned >*/
182 QMI_PROTOCOL_ERROR_MISSING_ARGUMENT
= 17, /*< nick=MissingArgument >*/
183 QMI_PROTOCOL_ERROR_ARGUMENT_TOO_LONG
= 19, /*< nick=ArgumentTooLong >*/
184 QMI_PROTOCOL_ERROR_INVALID_TRANSACTION_ID
= 22, /*< nick=InvalidTransactionId >*/
185 QMI_PROTOCOL_ERROR_DEVICE_IN_USE
= 23, /*< nick=DeviceInUse >*/
186 QMI_PROTOCOL_ERROR_NETWORK_UNSUPPORTED
= 24, /*< nick=NetworkUnsupported >*/
187 QMI_PROTOCOL_ERROR_DEVICE_UNSUPPORTED
= 25, /*< nick=DeviceUnsupported >*/
188 QMI_PROTOCOL_ERROR_NO_EFFECT
= 26, /*< nick=NoEffect >*/
189 QMI_PROTOCOL_ERROR_NO_FREE_PROFILE
= 27, /*< nick=NoFreeProfile >*/
190 QMI_PROTOCOL_ERROR_INVALID_PDP_TYPE
= 28, /*< nick=InvalidPdpType >*/
191 QMI_PROTOCOL_ERROR_INVALID_TECHNOLOGY_PREFERENCE
= 29, /*< nick=InvalidTechnologyPreference >*/
192 QMI_PROTOCOL_ERROR_INVALID_PROFILE_TYPE
= 30, /*< nick=InvalidProfileType >*/
193 QMI_PROTOCOL_ERROR_INVALID_SERVICE_TYPE
= 31, /*< nick=InvalidServiceType >*/
194 QMI_PROTOCOL_ERROR_INVALID_REGISTER_ACTION
= 32, /*< nick=InvalidRegisterAction >*/
195 QMI_PROTOCOL_ERROR_INVALID_PS_ATTACH_ACTION
= 33, /*< nick=InvalidPsAttachAction >*/
196 QMI_PROTOCOL_ERROR_AUTHENTICATION_FAILED
= 34, /*< nick=AuthenticationFailed >*/
197 QMI_PROTOCOL_ERROR_PIN_BLOCKED
= 35, /*< nick=PinBlocked >*/
198 QMI_PROTOCOL_ERROR_PIN_ALWAYS_BLOCKED
= 36, /*< nick=PinAlwaysBlocked >*/
199 QMI_PROTOCOL_ERROR_UIM_UNINITIALIZED
= 37, /*< nick=UimUninitialized >*/
200 QMI_PROTOCOL_ERROR_MAXIMUM_QOS_REQUESTS_IN_USE
= 38, /*< nick=MaximumQosRequestsInUse >*/
201 QMI_PROTOCOL_ERROR_INCORRECT_FLOW_FILTER
= 39, /*< nick=IncorrectFlowFilter >*/
202 QMI_PROTOCOL_ERROR_NETWORK_QOS_UNAWARE
= 40, /*< nick= NetworkQosUnaware >*/
203 QMI_PROTOCOL_ERROR_INVALID_QOS_ID
= 41, /*< nick=InvalidQosId >*/
204 QMI_PROTOCOL_ERROR_QOS_UNAVAILABLE
= 42, /*< nick=QosUnavailable >*/
205 QMI_PROTOCOL_ERROR_FLOW_SUSPENDED
= 43, /*< nick=FlowSuspended >*/
206 QMI_PROTOCOL_ERROR_GENERAL_ERROR
= 46, /*< nick=GeneralError >*/
207 QMI_PROTOCOL_ERROR_UNKNOWN_ERROR
= 47, /*< nick=UnknownError >*/
208 QMI_PROTOCOL_ERROR_INVALID_ARGUMENT
= 48, /*< nick=InvalidArgument >*/
209 QMI_PROTOCOL_ERROR_INVALID_INDEX
= 49, /*< nick=InvalidIndex >*/
210 QMI_PROTOCOL_ERROR_NO_ENTRY
= 50, /*< nick=NoEntry >*/
211 QMI_PROTOCOL_ERROR_DEVICE_STORAGE_FULL
= 51, /*< nick=DeviceStorageFull >*/
212 QMI_PROTOCOL_ERROR_DEVICE_NOT_READY
= 52, /*< nick=DeviceNotReady >*/
213 QMI_PROTOCOL_ERROR_NETWORK_NOT_READY
= 53, /*< nick=NetworkNotReady >*/
214 QMI_PROTOCOL_ERROR_WMS_CAUSE_CODE
= 54, /*< nick=Wms.CauseCode >*/
215 QMI_PROTOCOL_ERROR_WMS_MESSAGE_NOT_SENT
= 55, /*< nick=Wms.MessageNotSent >*/
216 QMI_PROTOCOL_ERROR_WMS_MESSAGE_DELIVERY_FAILURE
= 56, /*< nick=Wms.MessageDeliveryFailure >*/
217 QMI_PROTOCOL_ERROR_WMS_INVALID_MESSAGE_ID
= 57, /*< nick=Wms.InvalidMessageId >*/
218 QMI_PROTOCOL_ERROR_WMS_ENCODING
= 58, /*< nick=Wms.Encoding >*/
219 QMI_PROTOCOL_ERROR_AUTHENTICATION_LOCK
= 59, /*< nick=AuthenticationLock >*/
220 QMI_PROTOCOL_ERROR_INVALID_TRANSITION
= 60, /*< nick=InvalidTransaction >*/
221 QMI_PROTOCOL_ERROR_SESSION_INACTIVE
= 65, /*< nick=SessionInactive >*/
222 QMI_PROTOCOL_ERROR_SESSION_INVALID
= 66, /*< nick=SessionInvalid >*/
223 QMI_PROTOCOL_ERROR_SESSION_OWNERSHIP
= 67, /*< nick=SessionOwnership >*/
224 QMI_PROTOCOL_ERROR_INSUFFICIENT_RESOURCES
= 68, /*< nick=InsufficientResources >*/
225 QMI_PROTOCOL_ERROR_DISABLED
= 69, /*< nick=Disabled >*/
226 QMI_PROTOCOL_ERROR_INVALID_OPERATION
= 70, /*< nick=InvalidOperation >*/
227 QMI_PROTOCOL_ERROR_INVALID_QMI_COMMAND
= 71, /*< nick=InvalidQmiCommand >*/
228 QMI_PROTOCOL_ERROR_WMS_T_PDU_TYPE
= 72, /*< nick=Wms.TPduType >*/
229 QMI_PROTOCOL_ERROR_WMS_SMSC_ADDRESS
= 73, /*< nick=Wms.SmscAddress >*/
230 QMI_PROTOCOL_ERROR_INFORMATION_UNAVAILABLE
= 74, /*< nick=InformationUnavailable >*/
231 QMI_PROTOCOL_ERROR_SEGMENT_TOO_LONG
= 75, /*< nick=SegmentTooLong >*/
232 QMI_PROTOCOL_ERROR_SEGMENT_ORDER
= 76, /*< nick=SegmentOrder >*/
233 QMI_PROTOCOL_ERROR_BUNDLING_NOT_SUPPORTED
= 77, /*< nick=BundlingNotSupported >*/
234 /* 0x004E, 78: unused */
235 QMI_PROTOCOL_ERROR_POLICY_MISMATCH
= 79, /*< nick=PolicyMismatch >*/
236 QMI_PROTOCOL_ERROR_SIM_FILE_NOT_FOUND
= 80, /*< nick=SimFileNotFound >*/
237 QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL
= 81, /*< nick=ExtendedInternal >*/
238 QMI_PROTOCOL_ERROR_ACCESS_DENIED
= 82, /*< nick=AccessDenied >*/
239 QMI_PROTOCOL_ERROR_HARDWARE_RESTRICTED
= 83, /*< nick=HardwareRestricted >*/
240 QMI_PROTOCOL_ERROR_ACK_NOT_SENT
= 84, /*< nick=AckNotSent >*/
241 QMI_PROTOCOL_ERROR_INJECT_TIMEOUT
= 85, /*< nick=InjectTimeout >*/
242 QMI_PROTOCOL_ERROR_INCOMPATIBLE_STATE
= 90, /*< nick=IncompatibleState >*/
243 QMI_PROTOCOL_ERROR_FDN_RESTRICT
= 91, /*< nick=FdnRestrict >*/
244 QMI_PROTOCOL_ERROR_SUPS_FAILURE_CASE
= 92, /*< nick=SupsFailureCase >*/
245 QMI_PROTOCOL_ERROR_NO_RADIO
= 93, /*< nick=NoRadio >*/
246 QMI_PROTOCOL_ERROR_NOT_SUPPORTED
= 94, /*< nick=NotSupported >*/
247 QMI_PROTOCOL_ERROR_NO_SUBSCRIPTION
= 95, /*< nick=NoSubscription >*/
248 QMI_PROTOCOL_ERROR_CARD_CALL_CONTROL_FAILED
= 96, /*< nick=CardCallControlFailed >*/
249 QMI_PROTOCOL_ERROR_NETWORK_ABORTED
= 97, /*< nick=NetworkAborted >*/
250 QMI_PROTOCOL_ERROR_MSG_BLOCKED
= 98, /*< nick=MsgBlocked >*/
251 QMI_PROTOCOL_ERROR_INVALID_SESSION_TYPE
= 100, /*< nick=InvalidSessionType >*/
252 QMI_PROTOCOL_ERROR_INVALID_PB_TYPE
= 101, /*< nick=InvalidPbType >*/
253 QMI_PROTOCOL_ERROR_NO_SIM
= 102, /*< nick=NoSim >*/
254 QMI_PROTOCOL_ERROR_PB_NOT_READY
= 103, /*< nick=PbNotReady >*/
255 QMI_PROTOCOL_ERROR_PIN_RESTRICTION
= 104, /*< nick=PinRestriction >*/
256 QMI_PROTOCOL_ERROR_PIN2_RESTRICTION
= 105, /*< nick=Pin1Restriction >*/
257 QMI_PROTOCOL_ERROR_PUK_RESTRICTION
= 106, /*< nick=PukRestriction >*/
258 QMI_PROTOCOL_ERROR_PUK2_RESTRICTION
= 107, /*< nick=Puk2Restriction >*/
259 QMI_PROTOCOL_ERROR_PB_ACCESS_RESTRICTED
= 108, /*< nick=PbAccessRestricted >*/
260 QMI_PROTOCOL_ERROR_PB_TEXT_TOO_LONG
= 109, /*< nick=PbTextTooLong >*/
261 QMI_PROTOCOL_ERROR_PB_NUMBER_TOO_LONG
= 110, /*< nick=PbNumberTooLong >*/
262 QMI_PROTOCOL_ERROR_PB_HIDDEN_KEY_RESTRICTION
= 111, /*< nick=PbHiddenKeyRestriction >*/
263 QMI_PROTOCOL_ERROR_CAT_EVENT_REGISTRATION_FAILED
= 61441, /*< nick=Cat.EventRegistrationFailed >*/
264 QMI_PROTOCOL_ERROR_CAT_INVALID_TERMINAL_RESPONSE
= 61442, /*< nick=Cat.InvalidTerminalResponse >*/
265 QMI_PROTOCOL_ERROR_CAT_INVALID_ENVELOPE_COMMAND
= 61443, /*< nick=Cat.InvalidEnvelopeCommand >*/
266 QMI_PROTOCOL_ERROR_CAT_ENVELOPE_COMMAND_BUSY
= 61444, /*< nick=Cat.EnvelopCommandBusy >*/
267 QMI_PROTOCOL_ERROR_CAT_ENVELOPE_COMMAND_FAILED
= 61445 /*< nick=Cat.EnvelopeCommandFailed >*/
270 #endif /* _LIBQMI_GLIB_QMI_ERRORS_H_ */