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

@ -27,6 +27,6 @@ void HIDListFormats();
int HIDFindCardFormat(const char *format);
hidcardformat_t HIDGetCardFormat(int idx);
bool HIDPack(/* in */int FormatIndex, /* in */hidproxcard_t* card, /* out */hidproxmessage_t* packed);
bool HIDTryUnpack(/* in */hidproxmessage_t* packed);
bool HIDTryUnpack(/* in */hidproxmessage_t* packed, /* in */bool ignoreParity);
#endif