OSDP event cardread.
More...
#include <osdp.h>
OSDP event cardread.
- Parameters
-
reader_no | In context of readers attached to current PD, this number indicated this number. This is not supported by LibOSDP. |
format | Format of the card being read. see enum osdp_event_cardread_format_e |
direction | Card read direction of PD 0 - Forward; 1 - Backward |
length | Length of card data in bytes or bits depending on format (see note). |
data | Card data of length bytes or bits bits depending on format (see note). |
- Note
- When
format
is set to OSDP_CARD_FMT_RAW_UNSPECIFIED or OSDP_CARD_FMT_RAW_WIEGAND, the length is expressed in bits. OTOH, when it is set to OSDP_CARD_FMT_ASCII, the length is in bytes. The number of bytes to read from the data
field must be interpreted accordingly.
◆ data
uint8_t osdp_event_cardread::data[64] |
◆ direction
int osdp_event_cardread::direction |
◆ format
◆ length
int osdp_event_cardread::length |
◆ reader_no
int osdp_event_cardread::reader_no |
The documentation for this struct was generated from the following file: