C API for BALTECH SDK

§ brp_Sec_SetAcMask()

brp_errcode brp_Sec_SetAcMask ( brp_protocol  protocol,
unsigned  SecLevel,
brp_HostSecurityAccessConditionBits  AcMask 
)

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]protocolused to execute the command
[in]SecLevelSecurity 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.
[in]AcMaskNew 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.