CHG: added the ASK/Biphase demod of signal for NEDAP demod.

ADD: 'LF SEARCH'  now also checks for NEDAP.
This commit is contained in:
iceman1001 2016-05-02 14:06:08 +02:00
commit 96faed2124
3 changed files with 13 additions and 1 deletions

View file

@ -78,7 +78,13 @@ int CmdFSKdemodNedap(const char *Cmd) {
size_t size = getFromGraphBuf(BitStream);
if (size==0) return 0;
//get binary from fsk wave
//get binary from ask wave
if (!ASKbiphaseDemod("0 64 1 0", FALSE)) {
if (g_debugMode) PrintAndLog("Error NEDAP: ASKbiphaseDemod failed");
return 0;
}
size_t size = DemodBufferLen;
int idx = NedapDemod(BitStream, &size);
if (idx < 0){
if (g_debugMode){