C API for BALTECH SDK

§ brp_UlRdr_SendAuth1()

brp_errcode brp_UlRdr_SendAuth1 ( brp_protocol  protocol,
unsigned *  SendDevCode,
unsigned *  SendCmdCode,
brp_buf SendParams,
size_t *  SendParams_len,
brp_mempool mempool 
)

Retrieves the command that has to be sent to the reader to unlock, to initiate authentication.

Parameters
[in]protocolused to execute the command
[out]SendDevCodeDevice Code to send.
[out]SendCmdCodeCommand Code to send.
[out]SendParamsParams to send.
[out]SendParams_len
[in]mempoolis used to store response data. Maybe NULL to use an internal mempool, in this case the data is only available until another command uses the internal mempool