BALTECH SDK wrapper functions reference

§ brp_Sec_SetAcMask()

brp_errcode brp_Sec_SetAcMask ( brp_Sec_SetAcMask_t  params)

This command sets the Access Condition Mask of the security level specified in the SecurityLevel parameter to the AcMask value.

Alternatively Access Condition Masks may also be set via reader configuration, refer to Device/HostSecurity/AccessConditionMask.

The Access Condition Mask of security level 3 is by definition 0xFFFFFFFF. It can not be restricted.

Parameters
[in]paramsStruct with the following fields:
  • protocol used to execute the command
  • SecLevel (in) Security Level which needs to be modified (must be between 0 and 3). If this value is 0xFF, the Access Condition Mask of the current Security Level will be modified.
  • AcMask (in) New Access Condition Mask. It is not possible to delete the FactoryReset bit with this bitmask (see brp_Sec_LockReset()) — Every Feature in this list can be disabled by not setting the corresponding bit.