C API for BALTECH SDK

§ BRP_ERR_STATUS

#define BRP_ERR_STATUS (   cmd_code,
  statuscode 
)
Value:
((brp_errcode)(((cmd_code) & 0xFF00u) \
| ((statuscode) & 0xFFu) \
unsigned int brp_errcode
This type is used library-wide for passing error codes in the return value of functions.
Definition: errorcodes.h:23
#define BRP_ERRGRP_DEVICE
A command failed to execute due to a error on the device side which is not host communication related...
Definition: errorcodes.h:64

Error codes that happen on the reader side are encoded by this macro.

In practice this macro is only for internal use, as all error codes are available as separate macro definiions in Baltech API.

'cmd_code' is a 16bit value identifing the reader command that caused the error. statuscode is a 8bit value that is returned by this command. The BRP Reference Manual lists all command codes and their possible status codes.

Definition at line 405 of file errorcodes.h.