Add support for Electra demodulation
This commit is contained in:
1 parent
3c34e95ce9
commit
ee22a824ce
7 files changed
+158
-69
No files matched your search
@@ -592,10 +592,11 @@ static int Cmdmandecoderaw(const char *Cmd) {
|
||||
uint64_t id = 0;
|
||||
uint32_t hi = 0;
|
||||
size_t idx = 0;
|
||||
if (Em410xDecode(bits, &size, &idx, &hi, &id) == 1) {
|
||||
int res = Em410xDecode(bits, &size, &idx, &hi, &id);
|
||||
if (res > 0) {
|
||||
//need to adjust to set bitstream back to manchester encoded data
|
||||
//setDemodBuff(bits, size, idx);
|
||||
printEM410x(hi, id, false);
|
||||
printEM410x(hi, id, false, res);
|
||||
}
|
||||
}
|
||||
setDemodBuff(bits, size, 0);
|
||||
|
||||
Reference in new issue
Block a user