(errorDescription error_code [protocol])
If the error_code is valid:
(errorDescription error_code error_string)
If the error_code is unknown:
Some of the error responses to commands contain error codes returned by the 'device-level' of the driver, or from the card itself—most notably the errors returned by the CIF message ('telegram') mechanism. This command gives you a descriptive string for these error codes.
Since there is some overlap between the telegram errors for different communications protocols, an optional protocol parameter is used to provide the appropriate mapping. The protocol name can be obtained from the cardProfile command, or is a * if the message error is not protocol-specific.
The protocol feature is only necessary when querying with raw telegram errors (0-255). Any message errors returned by Cascade Driver commands (eg, see cifTelegram) are automatically mapped with the appropriate protocol to provide unique error codes, so that the protocol parmameter need not be specified.
Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.