Wiegand API > BS2_AddWiegandDevices


Adds Wiegand card readers.

Declaration

#include "BS_API.h"
 
int BS2_AddWiegandDevices(void* context, uint32_t deviceId, uint32_t* wiegandDevice, uint32_t numWiegandDevice);

Parameter

  • [In] context : Context
  • [In] deviceId : Device ID
  • [In] wiegandDevice : List of Wiegand card readers to add
  • [In] numWiegandDevice : Number of Wiegand card readers

Return Value

If successfully done, BS_SDK_SUCCESS will be returned.
If there is an error, the corresponding error code will be returned.

See Also