Fixes: lf simpsk - make sure Carrier input is ok.

fix: 'lf awid sim' - Clk param is used CorreCt
fix: 'lf HID sim' - unified way logging
fix: 'lf indala sim' - adding a draft simulation Command
fix: 'lf io sim'  - unified way logging
fix: 'lf nedap sim' - getting bits is wrong still..
fix: 'lf paradox sim'  - Helptext
lfdemod.C  got some reworked loops,  still some debug messages to be ...
This commit is contained in:
iceman1001 2017-08-10 14:19:57 +02:00
commit bd4d1ec74e
13 changed files with 162 additions and 123 deletions

View file

@ -133,12 +133,14 @@ int CmdHIDDemod(const char *Cmd) {
if (idx < 0) {
if (g_debugMode){
if (idx==-1){
PrintAndLog("DEBUG: Error - HID just noise detected");
PrintAndLog("DEBUG: Error - HID not enough samples");
} else if (idx == -2) {
PrintAndLog("DEBUG: Error - HID problem during FSK demod");
PrintAndLog("DEBUG: Error - HID just noise detected");
} else if (idx == -3) {
PrintAndLog("DEBUG: Error - HID preamble not found");
PrintAndLog("DEBUG: Error - HID problem during FSK demod");
} else if (idx == -4) {
PrintAndLog("DEBUG: Error - HID preamble not found");
} else if (idx == -5) {
PrintAndLog("DEBUG: Error - HID error in Manchester data, SIZE: %d", BitLen);
} else {
PrintAndLog("DEBUG: Error - HID error demoding fsk %d", idx);