text
This commit is contained in:
@@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file.
|
|||||||
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
|
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
|
||||||
|
|
||||||
## [unreleased][unreleased]
|
## [unreleased][unreleased]
|
||||||
|
- Changed `wiegand encode` - format param is now optional, w/o it will try encode all formats (@iceman1001)
|
||||||
|
- Fix cppchecker warnings (@iceman1001)
|
||||||
- Added `trace list -t mf` - now can use external dictionary keys file
|
- Added `trace list -t mf` - now can use external dictionary keys file
|
||||||
- Added support for bidirectional communication for `lf em 4x50 sim` (@tharexde)
|
- Added support for bidirectional communication for `lf em 4x50 sim` (@tharexde)
|
||||||
- Change `PLATFORM=PM3OTHER` to `PLATFORM=PM3GENERIC` (@iceman1001)
|
- Change `PLATFORM=PM3OTHER` to `PLATFORM=PM3GENERIC` (@iceman1001)
|
||||||
|
|||||||
@@ -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) {
|
static uint8_t get_length_from_header(wiegand_message_t *data) {
|
||||||
|
/**
|
||||||
|
* detect if message has "preamble" / "sentinel bit"
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
uint8_t len = 0;
|
uint8_t len = 0;
|
||||||
uint32_t hfmt = 0; // for calculating card length
|
uint32_t hfmt = 0; // for calculating card length
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user