C API for BALTECH SDK

§ brp_Iso15_WriteSingleBlock()

brp_errcode brp_Iso15_WriteSingleBlock ( brp_protocol  protocol,
unsigned  BlockID,
unsigned  BlockLen,
bool  OptionFlag,
brp_buf  SingleBlockData,
size_t  SingleBlockData_len,
unsigned *  LabelStat 
)

This command writes a single block to a label.

This command implements the "write single block" optional command from the ISO 15693-3 specification.

Parameters
[in]protocolused to execute the command
[in]BlockIDID of block to write
[in]BlockLenLength of each block (The length of the first block is considered to be representative).
[in]OptionFlagOption Flag according to the ISO 15693-3 specification.
[in]SingleBlockDataBlock to write.
[in]SingleBlockData_len
[out]LabelStatStatus code returned from label. The following bytes will only be returned, if LabelStat is OK.