C API for BALTECH SDK

§ brp_Iso15_WriteBlock()

brp_errcode brp_Iso15_WriteBlock ( brp_protocol  protocol,
unsigned  BlockID,
unsigned  BlockNum,
unsigned  BlockLen,
bool  OptionFlag,
brp_buf Data,
size_t  Data_len,
unsigned *  LabelStat 
)

**For new applications please use brp_Iso15_WriteMultipleBlocks() as this command is deprecated and may be removed in future.

**

This command writes one or multiple blocks to a label.

This command implements the "write multiple blocks" optional commands from the ISO 15693-3 specification.

Parameters
[in]protocolused to execute the command
[in]BlockIDID of first block to write.
[in]BlockNumNumber of blocks to write: * 0x00: 1 block * 0xFF: 256 blocks
[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]Data
[in]Data_len
[out]LabelStatStatus code returned from label.
Deprecated:
This command may be removed in future!