![]() |
BALTECH Docs |
C API for BALTECH SDK
|
| 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.
| [in] | protocol | used to execute the command |
| [in] | BlockID | ID of first block to write. |
| [in] | BlockNum | Number of blocks to write: * 0x00: 1 block * 0xFF: 256 blocks |
| [in] | BlockLen | Length of each block (The length of the first block is considered to be representative). |
| [in] | OptionFlag | Option Flag according to the ISO 15693-3 specification. |
| [in] | Data | |
| [in] | Data_len | |
| [out] | LabelStat | Status code returned from label. |