BALTECH SDK wrapper functions reference

§ brp_Iso15_WriteSingleBlock()

brp_errcode brp_Iso15_WriteSingleBlock ( brp_Iso15_WriteSingleBlock_t  params)

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]paramsStruct with the following fields:
  • protocol used to execute the command
  • BlockID (in) ID of block to write
  • BlockLen (in) Length of each block (The length of the first block is considered to be representative).
  • OptionFlag (in) Option Flag according to the ISO 15693-3 specification.
  • SingleBlockData (in) Block to write.
  • SingleBlockData_len (in) Length of SingleBlockData (in bytes).
  • LabelStat (out) Status code returned from label. The following bytes will only be returned, if LabelStat is OK.