diff --git a/client/src/cmdlft55xx.c b/client/src/cmdlft55xx.c index 7a457fc21..affdafd96 100644 --- a/client/src/cmdlft55xx.c +++ b/client/src/cmdlft55xx.c @@ -1286,6 +1286,7 @@ bool testKnownConfigBlock(uint32_t block0) { case T55X7_KERI_CONFIG_BLOCK: case T55X7_NEXWATCH_CONFIG_BLOCK: case T55X7_JABLOTRON_CONFIG_BLOCK: + case T55X7_PYRONIX_CONFIG_BLOCK: return true; } return false; @@ -2008,6 +2009,9 @@ static void printT5x7KnownBlock0(uint32_t b0) { case T55X7_NEXWATCH_CONFIG_BLOCK: snprintf(s + strlen(s), sizeof(s) - strlen(s), "NexWatch, Quadrakey "); break; + case T55X7_PYRONIX_CONFIG_BLOCK: + snprintf(s + strlen(s), sizeof(s) - strlen(s), "Pyronix "); + break; default: break; } diff --git a/client/src/cmdlft55xx.h b/client/src/cmdlft55xx.h index 6dbab378c..c3b8c31df 100644 --- a/client/src/cmdlft55xx.h +++ b/client/src/cmdlft55xx.h @@ -42,6 +42,7 @@ #define T55X7_PRESCO_CONFIG_BLOCK 0x00088088 // ASK, data rate 32, Manchester, 4 data blocks, STT #define T55X7_SECURAKEY_CONFIG_BLOCK 0x000C8060 // ASK, Manchester, data rate 40, 3 data blocks #define T55X7_UNK_CONFIG_BLOCK 0x000880FA // ASK, Manchester, data rate 32, 7 data blocks STT, Inverse ... +#define T55X7_PYRONIX_CONFIG_BLOCK 0x00088C40 // ASK, Manchester, data rate 32, 2 data blocks // FDXB requires data inversion and BiPhase 57 is simply BiPhase 50 inverted, so we can either do it using the modulation scheme or the inversion flag // we've done both below to prove that it works either way, and the modulation value for BiPhase 50 in the Atmel data sheet of binary "10001" (17) is a typo,