Result and Error Codes
5
2 Result and Error 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 computer screen. Use this code 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 will produce the
OK
result code but will not cause any change to
the built-in modem. These commands are included in the command descriptions in Chapters 4 and 5.
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:
2.1 Result codes
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