Device API > BS2_SetAuthOperatorLevelEx
[+ 2.6.3] Sets all device operators.
When using BS2_SetAuthConfig, BS2_GetAuthConfig, there is a limitation that you can set operators up to 10.
The new API below accommodates setting operators up to 1,000.
Only available higher than BS2 1.8.0, A2 1.7.0, L2 1.5.0, N2 1.2.0, FS 1.3.0, FaceLite 1.0.1, CS40 1.3.0, P2 1.3.0, W2 1.4.0, Xpass 2 1.0.0 + Devices newly released after 3Q 2019
#include "BS_API.h" int BS2_SetAuthOperatorLevelEx(void* context, BS2_DEVICE_ID deviceId, BS2AuthOperatorLevel* operatorlevels, uint32_t operatorlevelCount);
context
: ContextdeviceId
: Device IDoperatorlevels
: Operator list trying to add to deviceoperatorlevelCount
: Number of operators trying to add to device
If successfully done, BS_SDK_SUCCESS
will be returned.
If there is an error, the corresponding error code will be returned.