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:
marshmellow42 2017-03-26 08:09:40 -04:00
commit 4db6f3bbb9
7 changed files with 345 additions and 96 deletions

View file

@ -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;
}