Wiegand API > BS2_AddWiegandDevices
Adds Wiegand card readers.
#include "BS_API.h" int BS2_AddWiegandDevices(void* context, uint32_t deviceId, uint32_t* wiegandDevice, uint32_t numWiegandDevice);
context : ContextdeviceId : Device IDwiegandDevice : List of Wiegand card readers to addnumWiegandDevice : Number of Wiegand card readers
If successfully done, BS_SDK_SUCCESS will be returned.
If there is an error, the corresponding error code will be returned.