BALTECH Docs |
C API for BALTECH SDK
|
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!
[in] | protocol | used to execute the command |
[in] | DesiredGenSetNum | ID number of desired stamp entry (0x01 - 0x10). |
[out] | GenSetNum | ID number of read stamp entry (0x01 - 0x10). |
[out] | Stamp | Stamp data. |
[out] | StampLen | Status 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] | WriteExLen | Length of data for which these extended write conditions are applicable (0x01 - 0xFF). |
[out] | WriteExShad | Indicated whether or not shadow-memory management features are activated. |
[out] | WriteExMode | Determines extended write conditions. |
[out] | WriteExStart | Offset 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] | mempool | is 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 |