diff --git a/CHANGELOG.md b/CHANGELOG.md index 16c7021e2..a351cf1c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file. This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log... ## [unreleased][unreleased] +- Added Be-Tech identification (@iceman1001) - Added `lf em 410x clone --htu` clone EM410x ID to Hitag µ/8265 (@douniwan5788) - Added `lf hitag htu` support for Hitag µ/8265 (@douniwan5788) - Added `hf mfu aesauth` based on existing UL AES support (@doegox) diff --git a/client/src/cmdlft55xx.c b/client/src/cmdlft55xx.c index 33f3cdf7c..c38f96bcf 100644 --- a/client/src/cmdlft55xx.c +++ b/client/src/cmdlft55xx.c @@ -1551,6 +1551,7 @@ bool testKnownConfigBlock(uint32_t block0) { case T55X7_JABLOTRON_CONFIG_BLOCK: case T55X7_PYRONIX_CONFIG_BLOCK: case T55X7_TEXECOM_CONFIG_BLOCK: + case T55X7_BETECH_CONFIG_BLOCK: return true; } return false; @@ -2302,12 +2303,15 @@ static void printT5x7KnownBlock0(uint32_t b0) { case T55X7_TEXECOM_CONFIG_BLOCK: snprintf(s + strlen(s), sizeof(s) - strlen(s), "Texecom "); break; + case T55X7_BETECH_CONFIG_BLOCK: + snprintf(s + strlen(s), sizeof(s) - strlen(s), "Be-Tech "); + break; default: break; } if (strlen(s) > 0) { - PrintAndLogEx(SUCCESS, "Config block match : " _YELLOW_("%s"), s); + PrintAndLogEx(SUCCESS, "Config block match... " _YELLOW_("%s"), s); } } diff --git a/client/src/cmdlft55xx.h b/client/src/cmdlft55xx.h index 9160050a5..70f861bae 100644 --- a/client/src/cmdlft55xx.h +++ b/client/src/cmdlft55xx.h @@ -44,6 +44,7 @@ #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 #define T55X7_TEXECOM_CONFIG_BLOCK 0x001C8020 // ASK, Manchester, data rate 128, 1 data block +#define T55X7_BETECH_CONFIG_BLOCK 0x001480E0 // ASK, Manchester, data rate 64, 7 data block // 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,