Add support for Electra demodulation

This commit is contained in:
Philippe Teuwen committed 2021-08-04 15:11:30 +02:00
1 parent 3c34e95ce9
commit ee22a824ce
7 files changed
+158 -69

No files matched your search

+3 -2
View File
@@ -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);