QAtResult Class Reference
|
Constant | Value | Description |
---|---|---|
QAtResult::OK | -1 | Command responded with OK |
QAtResult::Connect | -2 | Command responded with CONNECT |
QAtResult::NoCarrier | -3 | Command responded with NO CARRIER |
QAtResult::Error | -4 | Command responded with ERROR |
QAtResult::NoDialtone | -5 | Command responded with NO DIALTONE |
QAtResult::Busy | -6 | Command responded with BUSY |
QAtResult::NoAnswer | -7 | Command responded with NO ANSWER |
QAtResult::Dead | -8 | The link is dead |
QAtResult::PhoneFailure | 0 | GSM 27.07 code 0: phone failure |
QAtResult::NoConnectionToPhone | 1 | GSM 27.07 code 1: no connection to phone |
QAtResult::PhoneAdapterLinkReserved | 2 | GSM 27.07 code 2: phone-adaptor link reserved |
QAtResult::OperationNotAllowed | 3 | GSM 27.07 code 3: operation not allowed |
QAtResult::OperationNotSupported | 4 | GSM 27.07 code 4: operation not supported |
QAtResult::PhSimPinRequired | 5 | GSM 27.07 code 5: PH-SIM PIN required |
QAtResult::PhFSimPinRequired | 6 | GSM 27.07 code 6: PH-FSIM PIN required |
QAtResult::PhFSimPukRequired | 7 | GSM 27.07 code 7: PH-FSIM PUK required |
QAtResult::SimNotInserted | 10 | GSM 27.07 code 10: SIM not inserted |
QAtResult::SimPinRequired | 11 | GSM 27.07 code 11: SIM PIN required |
QAtResult::SimPukRequired | 12 | GSM 27.07 code 12: SIM PUK required |
QAtResult::SimFailure | 13 | GSM 27.07 code 13: SIM failure |
QAtResult::SimBusy | 14 | GSM 27.07 code 14: SIM busy |
QAtResult::SimWrong | 15 | GSM 27.07 code 15: SIM wrong |
QAtResult::IncorrectPassword | 16 | GSM 27.07 code 16: incorrect password |
QAtResult::SimPin2Required | 17 | GSM 27.07 code 17: SIM PIN2 required |
QAtResult::SimPuk2Required | 18 | GSM 27.07 code 18: SIM PUK2 required |
QAtResult::MemoryFull | 20 | GSM 27.07 code 20: memory full |
QAtResult::InvalidIndex | 21 | GSM 27.07 code 21: invalid index |
QAtResult::NotFound | 22 | GSM 27.07 code 22: not found |
QAtResult::MemoryFailure | 23 | GSM 27.07 code 23: memory failure |
QAtResult::TextStringTooLong | 24 | GSM 27.07 code 24: text string too long |
QAtResult::InvalidCharsInTextString | 25 | GSM 27.07 code 25: invalid characters in text string |
QAtResult::DialStringTooLong | 26 | GSM 27.07 code 26: dial string too long |
QAtResult::InvalidCharsInDialString | 27 | GSM 27.07 code 27: invalid characters in dial string |
QAtResult::NoNetworkService | 30 | GSM 27.07 code 30: no network service |
QAtResult::NetworkTimeout | 31 | GSM 27.07 code 31: network timeout |
QAtResult::NetworkNotAllowed | 32 | GSM 27.07 code 32: network not allowed - emergency calls only |
QAtResult::NetPersPinRequired | 40 | GSM 27.07 code 40: network personalization PIN required |
QAtResult::NetPersPukRequired | 41 | GSM 27.07 code 41: network personalization PUK required |
QAtResult::NetSubsetPersPinRequired | 42 | GSM 27.07 code 42: network subset personalization PIN required |
QAtResult::NetSubsetPersPukRequired | 43 | GSM 27.07 code 43: network subset personalization PUK required |
QAtResult::ServProvPersPinRequired | 44 | GSM 27.07 code 44: service provider personalization PIN required |
QAtResult::ServProvPersPukRequired | 45 | GSM 27.07 code 45: service provider personalization PUK required |
QAtResult::CorpPersPinRequired | 46 | GSM 27.07 code 46: corporate personalization PIN required |
QAtResult::CorpPersPukRequired | 47 | GSM 27.07 code 47: corporate personalization PUK required |
QAtResult::HiddenKeyRequired | 48 | GSM 27.07 code 48: hidden key required |
QAtResult::Unknown | 100 | GSM 27.07 code 100: unknown |
QAtResult::IllegalMS | 103 | GSM 27.07 code 103: Illegal MS |
QAtResult::IllegalME | 106 | GSM 27.07 code 106: Illegal ME |
QAtResult::GPRSServicesNotAllowed | 107 | GSM 27.07 code 107: GPRS services not allowed |
QAtResult::PLMNNotAllowed | 111 | GSM 27.07 code 111: PLMN not allowed |
QAtResult::LocationAreaNotAllowed | 112 | GSM 27.07 code 112: Location area not allowed |
QAtResult::RoamingNotAllowed | 113 | GSM 27.07 code 113: Roaming not allowed in this location area |
QAtResult::ServiceOptionNotSupported | 132 | GSM 27.07 code 132: service option not supported |
QAtResult::ServiceOptionNotSubscribed | 133 | GSM 27.07 code 133: service option not subscribed |
QAtResult::ServiceOptionOutOfOrder | 134 | GSM 27.07 code 134: service option temporarily out of order |
QAtResult::UnspecifiedGPRSError | 148 | GSM 27.07 code 148: unspecified GPRS error |
QAtResult::PDPAuthenticationFailure | 149 | GSM 27.07 code 149: PDP authentication failure |
QAtResult::InvalidMobileClass | 150 | GSM 27.07 code 150: invalid mobile class |
QAtResult::VBSVGCSNotSupported | 151 | GSM 27.07 code 151: VBS/VGCS not supported by the network |
QAtResult::NoServiceSubscriptionOnSim | 152 | GSM 27.07 code 152: No service subscription on SIM |
QAtResult::NoSubscriptionForGroupId | 153 | GSM 27.07 code 153: No subscription for group ID |
QAtResult::GroupIdNotActivatedOnSim | 154 | GSM 27.07 code 154: Group Id not activated on SIM |
QAtResult::NoMatchingNotification | 155 | GSM 27.07 code 155: No matching notification |
QAtResult::VBSVGCSCallAlreadyPresent | 156 | GSM 27.07 code 156: VBS/VGCS call already present |
QAtResult::Congestion | 157 | GSM 27.07 code 157: Congestion |
QAtResult::NetworkFailure | 158 | GSM 27.07 code 158: Network failure |
QAtResult::UplinkBusy | 159 | GSM 27.07 code 159: Uplink busy |
QAtResult::NoAccessRightsForSimFile | 160 | GSM 27.07 code 160: No access rights for SIM file |
QAtResult::NoSubscriptionForPriority | 161 | GSM 27.07 code 161: No subscription for priority |
QAtResult::OperationNotApplicable | 162 | GSM 27.07 code 162: operation not applicable or not possible |
QAtResult::MEFailure | 300 | GSM 27.05 code 300: ME failure |
QAtResult::SMSServiceOfMEReserved | 301 | GSM 27.05 code 301: SMS service of ME reserved |
QAtResult::SMSOperationNotAllowed | 302 | GSM 27.05 code 302: operation not allowed |
QAtResult::SMSOperationNotSupported | 303 | GSM 27.05 code 303: operation not supported |
QAtResult::InvalidPDUModeParameter | 304 | GSM 27.05 code 304: invalid PDU mode parameter |
QAtResult::InvalidTextModeParameter | 305 | GSM 27.05 code 305: invalid text mode parameter |
QAtResult::USimNotInserted | 310 | GSM 27.05 code 310: (U)SIM not inserted |
QAtResult::USimPinRequired | 311 | GSM 27.05 code 311: (U)SIM PIN required |
QAtResult::PHUSimPinRequired | 312 | GSM 27.05 code 312: PH-(U)SIM PIN required |
QAtResult::USimFailure | 313 | GSM 27.05 code 313: (U)SIM failure |
QAtResult::USimBusy | 314 | GSM 27.05 code 314: (U)SIM busy |
QAtResult::USimWrong | 315 | GSM 27.05 code 315: (U)SIM wrong |
QAtResult::USimPukRequired | 316 | GSM 27.05 code 316: (U)SIM PUK required |
QAtResult::USimPin2Required | 317 | GSM 27.05 code 317: (U)SIM PIN2 required |
QAtResult::USimPuk2Required | 318 | GSM 27.05 code 318: (U)SIM PUK2 required |
QAtResult::SMSMemoryFailure | 320 | GSM 27.05 code 320: memory failure |
QAtResult::InvalidMemoryIndex | 321 | GSM 27.05 code 321: invalid memory index |
QAtResult::SMSMemoryFull | 322 | GSM 27.05 code 322: memory full |
QAtResult::SMSCAddressUnknown | 330 | GSM 27.05 code 330: SMSC address unknown |
QAtResult::SMSNoNetworkService | 331 | GSM 27.05 code 331: no network service |
QAtResult::SMSNetworkTimeout | 332 | GSM 27.05 code 332: network timeout |
QAtResult::NoCNMAAckExpected | 340 | GSM 27.05 code 340: no +CNMA acknowledgment expected |
QAtResult::UnknownError | 500 | GSM 27.05 code 500: unknown error |
Construct a new QAtResult object. The result() will be OK, and the content() empty.
Construct a copy of other.
Destruct this QAtResult object.
Append value to the current content, after a line terminator.
See also content() and setContent().
Returns the content that was returned with an AT command's result.
See also setContent() and append().
Returns true if this result indicates a successful command; false otherwise. Success is indicated when resultCode() returns either QAtResult::OK or QAtResult::Connect. All other result codes indicate failure.
See also resultCode().
Returns the result line that terminated the command's response. This is usually a string such as OK, ERROR, +CME ERROR: N, and so on.
The resultCode() function is a better way to determine why a command failed, but sometimes it is necessary to parse the text result line. For example, for CONNECT baudrate, the caller may be interested in the baud rate.
See also setResult(), resultCode(), and ok().
Returns the numeric result code associated with result().
Extended error codes are only possible if the appropriate modem error mode has been enabled (e.g. with the AT+CMEE=1 command). Otherwise most errors will simply be reported as QAtResult::Error.
See also setResultCode(), result(), and ok().
Sets the content that was returned with an AT command's result to value.
See also content() and append().
Sets the result line that terminated the command's response to value. This will also update resultCode() to reflect the appropriate code.
See also result() and resultCode().
Sets the numeric result code to value, and update result() to reflect the value.
See also resultCode() and result().
Sets the user data associated with this result object to value.
See also userData().
Returns the user data associated with this result object.
See also setUserData().
Returns a more verbose version of result(), suitable for debug output. Many modems report extended errors by number (e.g. +CME ERROR: 4), which can be difficult to use when diagnosing problems. This function returns a string that is more suitable for diagnostic output than result(). If result() is already verbose, it will be returned as-is.
See also result().
Assign the contents of other to this object.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtextended4.4 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com