mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-08 05:51:08 -07:00
text
This commit is contained in:
parent
dc01b63d49
commit
249d3e7d1e
2 changed files with 8 additions and 0 deletions
|
@ -121,6 +121,12 @@ bool set_nonlinear_field(wiegand_message_t *data, uint64_t value, uint8_t numBit
|
|||
}
|
||||
|
||||
static uint8_t get_length_from_header(wiegand_message_t *data) {
|
||||
/**
|
||||
* detect if message has "preamble" / "sentinel bit"
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
uint8_t len = 0;
|
||||
uint32_t hfmt = 0; // for calculating card length
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue