mirror of
https://github.com/free-dmo/free-dmo-stm32
synced 2024-08-30 18:12:20 +00:00
add new tag + data from SKU 30336 (1" x 2.125" / 25mm x 51mm)
This commit is contained in:
parent
ef0ef37852
commit
89fa3220bb
17
Src/main.c
17
Src/main.c
@ -55,6 +55,7 @@ static void MX_I2C2_Init(void);
|
||||
//#define DMO_SKU S0722400 // 36 mm x 89 mm / 1.4 in x 3.5 in / 50 pcs.
|
||||
//#define DMO_SKU 1744907 // 102 mm x 152 mm / 4 in x 6 in / 220 pcs.
|
||||
//#define DMO_SKU 30857 // 57 mm x 104 mm / 2.25 in x 4 in / 250 pcs.
|
||||
//#define DMO_SKU 30336 // 25 mm x 51 mm / 1 in x 2.125 in / 500 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
|
||||
@ -62,6 +63,7 @@ static void MX_I2C2_Init(void);
|
||||
//#define SLIX2_TAG_EMU 3
|
||||
//#define SLIX2_TAG_EMU 4
|
||||
//#define SLIX2_TAG_EMU 5
|
||||
//#define SLIX2_TAG_EMU 6
|
||||
|
||||
#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};
|
||||
@ -83,6 +85,10 @@ static const uint8_t DMO_TAG_SLIX2_SIGNATURE[SLIX2_SIGNATURE_LEN] = {0xA2,0x8F,0
|
||||
static const uint8_t DMO_TAG_SLIX2_INVENTORY[SLIX2_INVENTORY_LEN] = {0x01,0x4C,0xE0,0x67,0x28,0x08,0x01,0x04,0xE0};
|
||||
static const uint8_t DMO_TAG_SLIX2_SYSINFO[SLIX2_SYSINFO_LEN] = {0x0F,0x4C,0xE0,0x67,0x28,0x08,0x01,0x04,0xE0,0x01,0x3D,0x4F,0x03,0x01};
|
||||
static const uint8_t DMO_TAG_SLIX2_SIGNATURE[SLIX2_SIGNATURE_LEN] = {0xD7,0x99,0x6A,0x0D,0xE0,0x48,0x5E,0xD9,0xED,0x17,0x61,0xE1,0x87,0xD0,0x99,0xAF,0x9D,0x89,0xD9,0xD0,0xDB,0x24,0x11,0x16,0x1B,0x80,0x8A,0x97,0xD4,0x11,0x6D,0x7B};
|
||||
#elif SLIX2_TAG_EMU == 6
|
||||
static const uint8_t DMO_TAG_SLIX2_INVENTORY[SLIX2_INVENTORY_LEN] = {0x01,0xED,0x90,0x96,0x44,0x08,0x01,0x04,0xE0};
|
||||
static const uint8_t DMO_TAG_SLIX2_SYSINFO[SLIX2_SYSINFO_LEN] = {0x0F,0xED,0x90,0x96,0x44,0x08,0x01,0x04,0xE0,0x01,0x3D,0x4F,0x03,0x01};
|
||||
static const uint8_t DMO_TAG_SLIX2_SIGNATURE[SLIX2_SIGNATURE_LEN] = {0xAC,0xD4,0x3D,0x48,0xA8,0xDF,0xD5,0xC4,0x07,0xB7,0xEC,0x76,0xE9,0x79,0xBF,0xDA,0x70,0x44,0xDB,0x28,0xCB,0x80,0x6F,0xDD,0x0C,0x06,0x14,0x0E,0x50,0xF8,0x87,0x61};
|
||||
#endif
|
||||
|
||||
#if DMO_SKU == S0722430
|
||||
@ -140,6 +146,17 @@ static const uint8_t DMO_TAG_SLIX2_BLOCKS[SLIX2_BLOCKS*sizeof(uint32_t)] = { //3
|
||||
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,0xED,0xFE,0x00,0x01
|
||||
};
|
||||
elif DMO_SKU == 30336
|
||||
static const uint8_t DMO_TAG_SLIX2_BLOCKS[SLIX2_BLOCKS*sizeof(uint32_t)] = { //30336 25 x 51 mm, 500 pcs.
|
||||
0x03,0x0A,0x82,0xED,0x86,0x39,0x61,0xD2,0x03,0x14,0x1E,0x32,0xB6,0xCA,0x00,0x3C,0x8D,0xBA,0x04,0x96,0x33,0x30,0x33,0x33,0x36,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x24,0x01,0x01,0x00,0x00,0x00,
|
||||
0x6B,0x02,0x1E,0x00,0x48,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x1C,0x02,0xFE,0x00,0x00,0x00,0x00,0x00,0x37,0x01,0xF4,0x01,0x73,0x3C,0x32,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0xD7,0xFA,0x00,0x1C,0x7D,0xB9,0x0C,0xBE,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xED,0x72,0x46,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x32,0x8C,0x00,0x30,0xD3,0x87,0x06,0xFB,0x00,0x00,0x00,0x00,0x6E,0x25,0xCD,0x48,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,0xDA,0xFD,0x00,0x01
|
||||
};
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user