C API for BALTECH SDK

§ brp_Sys_CfgDelValues()

brp_errcode brp_Sys_CfgDelValues ( brp_protocol  protocol,
unsigned  Key,
unsigned  Value 
)

This command deletes a key or a value from the reader's configuration.

  • It is possible to use the wildcard character (0xFF).
  • If 0xFF is used as Value , all values of the given Key will be deleted. For instance, setting 0x0101 as Key and 0xFF as Value will delete all configuration values within the key 0x0101.
  • If 0xFF is used as SubKey (low order byte of the Key variable), all SubKeys from a specified MasterKey will be deleted. For instance, setting 0x01FF as Key delete all SubKeys and thus also all values contained in MasterKey 0x01. The content of the Value variable is irrelevant in this case.
  • If 0xFF is used as MasterKey (high order byte of the Key variable), the complete configuration will be deleted. The contents of the low order byte of the Key variable and of the Value variable are irrelevant in this case.
  • This command is subject to potential restrictions . Specifically, SubKeys >= 0x80 are not deleted when the 0xFF wildcard is used. Deletion of these SubKeys must be performed explicitly.
Parameters
[in]protocolused to execute the command
[in]Key
[in]Value