Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Hide TOC

Error

Technology area
iSync
Availability
Available with iSync 2.3 and later.
Companion guide

Overview

Error objects encapsulate information about AT command or communication errors that may occur when executing JavaScript. Use the isATError property to determine whether an error is an AT error or a non-AT error. If it is an AT error, it contains an error domain and a domain-specific error code that you can use for debugging. The types of error codes that might occur are described in the following tables.

Table 3-1  AT device error codes

Error code

Name

300

Phone Failure

301

SMS Service Of Phone Reserved

302

Operation Not Allowed

303

Operation Not Supported

304

Invalid PDU Mode Parameter

305

Invalid Text Mode Parameter

310

SIM Not Inserted

311

SIM PIN Necessary

312

PH-SIM PIN Necessary

313

SIM Failure

314

SIM Busy

315

SIM Wrong

320

Memory Failure

321

Invalid Memory Index

322

Memory Full

330

SMS-C Address Unknown

331

No Network Service

332

Network Timeout

500

Unknown Error

512

Manufacturer Specific

Table 3-2  AT generic error codes

Error code

Name

1000

Controller Shutdown

1001

No Correct ResponseReceived

1002

Prepare Channel command has Bad Properties

Table 3-3  AT parsing error codes

Error code

Name

1500

AT Response Parse Error

Table 3-4  AT carrier error codes

Error code

Name

2000

No Carrier

2001

No Answer

Properties

domain

A string indicating the error domain that is, the subsystem that originated the error.

Available with iSync 2.3 and later.

code

An integer that identifies a particular error in a particular domain.

Available with iSync 2.3 and later.

isATError

A Boolean value that if true indicates that the error is an AT error sent by the device; otherwise, it indicates a communications error, possibly generated by the client.

Available with iSync 2.3 and later.



Hide TOC


Last updated: 2007-07-11




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice