Wiegand API > BS2_AddWiegandDevices


Wiegand card reader를 추가합니다.

함수

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

파라미터

  • [In] context : Context
  • [In] deviceId : 장치 식별자
  • [In] wiegandDevice : 추가할 wiegand card reader 리스트
  • [In] numWiegandDevice : wiegand card reader 리스트의 개수

반환값

성공적으로 수행될 경우 BS_SDK_SUCCESS를 반환하고, 에러가 발생할 경우 상응하는 에러 코드를 반환합니다.

함께 보기