NET_DVR_CARD_CFG_COND

Condition structure of card configuration.

Structure Definition

struct{
  DWORD   dwSize;
  DWORD   dwCardNum;
  BYTE    byCheckCardNo;
  BYTE    byRes1[3];
  WORD    wLocalControllerID;
  BYTE    byRes2[2];
  DWORD   dwLockID;
  BYTE    byRes3[20];
}NET_DVR_CARD_CFG_COND,*LPNET_DVR_CARD_CFG_COND;

Members

dwSize

Structure size.

dwCardNum

Number of cards to get or apply, 0xffffffff-all cards.

byCheckCardNo

Whether to enable card number verification: 0-no; 1-yes.

byRes1

Reserved, set to 0.

wLocalControllerID

Distributed access controller No., 0-access controller.

byRes2

Reserved, set to 0.

dwLockID

Lock ID.

byRes3

Reserved, set to 0.

Remarks

When applying card information, if the member byCheckCardNo is set to "0", the device will not verify the card number applied by application layer, and the card number will be directly written to the local storage, which can improve the applying speed. But the application layer should make sure the card number is unique.