C API for BALTECH SDK

§ brp_Lg_GenSetRead()

brp_errcode brp_Lg_GenSetRead ( brp_protocol  protocol,
unsigned  DesiredGenSetNum,
unsigned *  GenSetNum,
brp_buf Stamp,
unsigned *  StampLen,
unsigned *  WriteExLen,
bool *  WriteExShad,
brp_Lg_GenSetRead_WriteExMode WriteExMode,
unsigned *  WriteExStart,
brp_mempool mempool 
)

Read stamp data with ID specified in the GenSetNum parameter from the reader's EEPROM.

Responses after StampLen are only transmitted when StatusCode is OK and the response length is > 9!

Parameters
[in]protocolused to execute the command
[in]DesiredGenSetNumID number of desired stamp entry (0x01 - 0x10).
[out]GenSetNumID number of read stamp entry (0x01 - 0x10).
[out]StampStamp data.
[out]StampLenStatus of read stamp entry. Possible values: * 0x00: Stamp with ID specified by GenSetNum has been deleted. * 0x01 - 0x07: Length of valid stamp Bytes in stamp. * 0x08 - 0xFF: Stamp with ID specified by GenSetNum not present.
[out]WriteExLenLength of data for which these extended write conditions are applicable (0x01 - 0xFF).
[out]WriteExShadIndicated whether or not shadow-memory management features are activated.
[out]WriteExModeDetermines extended write conditions.
[out]WriteExStartOffset added to the start address of the stamp in the selected segment, indicating the address of the data in this segment for which the extended write access conditions apply. This value is always > = 13 since extended write access conditions may not be set for the stamp data itself.
[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
Deprecated:
This command may be removed in future!