C API for BALTECH SDK

§ brp_Hitag_Read()

brp_errcode brp_Hitag_Read ( brp_protocol  protocol,
unsigned  Address,
bool  InvRead,
bool  KeyB,
bool  Encrypt,
bool  BlockRead,
unsigned **  PageNr,
size_t *  PageNr_len,
brp_mempool mempool 
)

Reads a Hitag1/S label.

Parameters
[in]protocolused to execute the command
[in]AddressPage address of a label.
[in]InvReadB3 = 1: for Hitag2: Inverted read, result is returned not inverted.
[in]KeyBB2 = 1: for Hitag1: KeyB will be used for authentification.
[in]EncryptB1 = 1: for Hitag1: block will be read encrypted.
[in]BlockReadB0 = 1: block(up to 4 pages) will be read instead of a single block.
[out]PageNr
[out]PageNr_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