mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 02:26:59 -07:00
split fdx-b demod to its own file
added @iceman1001 s read/sim/clone commands for fdx--b check changelog.md for cli changes!
This commit is contained in:
parent
946a84c35b
commit
4db6f3bbb9
7 changed files with 345 additions and 96 deletions
|
@ -1703,6 +1703,8 @@ int FDXBdemodBI(uint8_t *dest, size_t *size) {
|
|||
|
||||
uint8_t errChk = preambleSearch(dest, preamble, sizeof(preamble), size, &startIdx);
|
||||
if (errChk == 0) return -2; //preamble not found
|
||||
if (*size != 128) return -3; //wrong size for fdxb
|
||||
//return start position
|
||||
return (int)startIdx;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue