lf hid: Added encode/decode support for Issue Level

Issue Level added to encode/decode support
By default, invalid parity will not show on decode (with option to show)
Added two new 36-bit formats including first format to use issue level
This commit is contained in:
grauerfuchs 2018-08-28 13:34:21 -04:00
commit 5d643cc033
5 changed files with 142 additions and 42 deletions

View file

@ -29,7 +29,7 @@ typedef struct hidproxcard_s{
uint32_t FacilityCode;
uint64_t CardNumber;
uint8_t IssueLevel;
bool ParitySupported; // Only valid for responses
bool ParitySupported;
bool ParityValid; // Only valid for responses
} hidproxcard_t;