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 30857 (2.25" x 4" / 57 x 104mm)
This commit is contained in:
parent
1e58e8308e
commit
ef0ef37852
25
Src/main.c
25
Src/main.c
@ -50,16 +50,18 @@ static void MX_I2C2_Init(void);
|
||||
//
|
||||
|
||||
//choose between one of the dumped SKU (roll types) for emulation
|
||||
#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.
|
||||
#define DMO_SKU S0722430 // 54 mm x 101 mm / 2.125 in x 4 in / 220 pcs.
|
||||
//#define DMO_SKU S0722550 // 19 mm x 51 mm / 0.75 in x 2 in / 500 pcs.
|
||||
//#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.
|
||||
|
||||
//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
|
||||
//#define SLIX2_TAG_EMU 5
|
||||
|
||||
#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};
|
||||
@ -77,6 +79,10 @@ static const uint8_t DMO_TAG_SLIX2_SIGNATURE[SLIX2_SIGNATURE_LEN] = {0x0E,0x0F,0
|
||||
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};
|
||||
#elif SLIX2_TAG_EMU == 5
|
||||
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};
|
||||
#endif
|
||||
|
||||
#if DMO_SKU == S0722430
|
||||
@ -123,6 +129,17 @@ static const uint8_t DMO_TAG_SLIX2_BLOCKS[SLIX2_BLOCKS*sizeof(uint32_t)] = { //1
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,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
|
||||
};
|
||||
#elif DMO_SKU == 30857
|
||||
static const uint8_t DMO_TAG_SLIX2_BLOCKS[SLIX2_BLOCKS*sizeof(uint32_t)] = { //30857 57 x 104 mm, 250 pcs.
|
||||
0x03,0x0A,0x82,0xED,0x86,0x39,0x61,0xD2,0x03,0x14,0x1E,0x32,0xB6,0xCA,0x00,0x3C,0x06,0x2C,0xC7,0xF8,0x33,0x30,0x38,0x35,0x37,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x24,0x01,0x01,0x00,0x00,0x00,
|
||||
0x22,0x04,0x1E,0x00,0x23,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0xF8,0x03,0x4C,0x02,0x00,0x00,0x00,0x00,0x6B,0x02,0xFA,0x00,0xAE,0x33,0x19,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0xD7,0xFA,0x00,0x1C,0xEC,0x29,0x85,0x8F,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x5B,0x91,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x32,0x8C,0x00,0x30,0xDA,0x22,0x93,0x5B,0x00,0x00,0x00,0x00,0xD2,0x59,0xBE,0xC7,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,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,0xED,0xFE,0x00,0x01
|
||||
};
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user