From 1f5f3666a9f20d225fbdca295a0a97cbf2e39fd4 Mon Sep 17 00:00:00 2001 From: freepdk Date: Tue, 29 Mar 2022 18:25:52 +0200 Subject: [PATCH] add new tag + data from SKU 1744907 (4" x 6" / 102 x 152mm) --- Src/main.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Src/main.c b/Src/main.c index ca81c6b..b608d24 100644 --- a/Src/main.c +++ b/Src/main.c @@ -53,11 +53,13 @@ static void MX_I2C2_Init(void); #define DMO_SKU S0722430 // 54 x 101 mm, 220 pcs. //#define DMO_SKU S0722550 // 19 x 51 mm, 500 pcs. //#define DMO_SKU S0722400 // 36 x 89 mm, 50 pcs. +//#define DMO_SKU 1744907 // 102 x 152 mm, 220 pcs. //choose one of the dumped original tags for UID + signature emulation. It does not have to match the dumped data #define SLIX2_TAG_EMU 1 //#define SLIX2_TAG_EMU 2 //#define SLIX2_TAG_EMU 3 +//#define SLIX2_TAG_EMU 4 #if SLIX2_TAG_EMU == 1 static const uint8_t DMO_TAG_SLIX2_INVENTORY[SLIX2_INVENTORY_LEN] = {0x01,0xBA,0x6C,0x60,0x3D,0x08,0x01,0x04,0xE0}; @@ -71,6 +73,10 @@ static const uint8_t DMO_TAG_SLIX2_SIGNATURE[SLIX2_SIGNATURE_LEN] = {0x63,0x3D,0 static const uint8_t DMO_TAG_SLIX2_INVENTORY[SLIX2_INVENTORY_LEN] = {0x01,0xA0,0xC6,0x7D,0x3D,0x08,0x01,0x04,0xE0}; static const uint8_t DMO_TAG_SLIX2_SYSINFO[SLIX2_SYSINFO_LEN] = {0x0F,0xA0,0xC6,0x7D,0x3D,0x08,0x01,0x04,0xE0,0x01,0x3D,0x4F,0x03,0x01}; static const uint8_t DMO_TAG_SLIX2_SIGNATURE[SLIX2_SIGNATURE_LEN] = {0x0E,0x0F,0x76,0x62,0x33,0xB6,0x5B,0xA8,0xA0,0xAE,0x61,0xB4,0x57,0x23,0x51,0x4D,0xF5,0x12,0x5B,0x2C,0xFC,0x73,0xFD,0x0C,0xBA,0x4A,0x01,0x79,0xA9,0x53,0x2C,0x21}; +#elif SLIX2_TAG_EMU == 4 +static const uint8_t DMO_TAG_SLIX2_INVENTORY[SLIX2_INVENTORY_LEN] = {0x01,0x5C,0x61,0x8E,0x3D,0x08,0x01,0x04,0xE0}; +static const uint8_t DMO_TAG_SLIX2_SYSINFO[SLIX2_SYSINFO_LEN] = {0x0F,0x5C,0x61,0x8E,0x3D,0x08,0x01,0x04,0xE0,0x01,0x3D,0x4F,0x03,0x01}; +static const uint8_t DMO_TAG_SLIX2_SIGNATURE[SLIX2_SIGNATURE_LEN] = {0xA2,0x8F,0x44,0x95,0x27,0xEC,0x27,0x85,0x92,0xC4,0x28,0x42,0x97,0x87,0xC8,0x27,0xCD,0x29,0x9A,0xFA,0x67,0x04,0x14,0xE5,0x4A,0xD7,0x11,0xEF,0x36,0x40,0xD8,0x10}; #endif #if DMO_SKU == S0722430 @@ -106,6 +112,17 @@ static const uint8_t DMO_TAG_SLIX2_BLOCKS[SLIX2_BLOCKS*sizeof(uint32_t)] = { //S 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC6,0xFF,0x00,0x01 }; +#elif DMO_SKU == 1744907 +static const uint8_t DMO_TAG_SLIX2_BLOCKS[SLIX2_BLOCKS*sizeof(uint32_t)] = { //1744907 102 x 152 mm, 220 pcs. + 0x03,0x0A,0x82,0xED,0x86,0x39,0x61,0xD2,0x03,0x14,0x1E,0x32,0xB6,0xCA,0x00,0x3C,0x86,0x50,0xB6,0x72,0x31,0x37,0x34,0x34,0x39,0x30,0x37,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x24,0x01,0x01,0x00,0x00,0x00, + 0x73,0x06,0x1E,0x00,0x26,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x3A,0x06,0x14,0x04,0x00,0x00,0x00,0x00,0x33,0x04,0xDC,0x00,0xF1,0x46,0x16,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0xD7,0xFA,0x00,0x1C,0x72,0xB2,0x23,0x87,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x85,0x30,0xE1,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x32,0x8C,0x00,0x30,0x67,0x63,0xC8,0x4D,0x00,0x00,0x00,0x00,0x2C,0x16,0x75,0xF5,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x11,0xF3,0x00,0x2C,0xDD,0xC3,0x3E,0x91,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0D,0xFF,0x00,0x01 +}; #endif /////////////////////////////////////////////////////////