User guide

Developers guidelines | AT commands
11 June 2010
Result and error codes
Result codes
When you send a command from your PC or PDA to the built-in modem, the response
is terminated by a result code, which is shown on the screen of the sending device.
This code is used to confirm correct operation or to identify any problem with the
command. There are two types of result codes:
Final result codes related to the operation of AT commands
Result codes associated with call connections
Final result codes from AT commands
The built-in modem always terminates each response to an AT command with a final
result code:
Some AT commands are not relevant to the built-in modem operations or can only be
set to one parameter value. For completeness and to allow the parameter to be read,
some of these commands are supported but not implemented. Calling a command of
this type produces the OK result code but does not cause any change to the built-in
modem.
When an error is reported, the ERROR message is preceded by a copy of the text
response from the last valid AT command. This is shown in the following example:
OK The command(s) and any specified parameters were valid and the command has
completed execution.
ERROR An error has occurred during the command processing.
This could arise because:
There is a fault in the command syntax
One or more parameters are outside the permitted range
The command you issued is not implemented in the built-in modem
The command is not appropriate to the service
Of the class the built-in modem is operating in
Valid command: AT+CBC=?
Response: +CBC:(0,2),(0-100)
OK
Invalid command: AT+CBC=?;+FCLASS=3
Response: +CBC:(0,2),(0-100)
ERROR