mirror of
https://github.com/free-dmo/free-dmo-stm32
synced 2024-08-30 18:12:20 +00:00
Add 1.125 in x 3.5 in Labels
This commit is contained in:
parent
522a7a279c
commit
3a4ca9f5af
32
Src/main.c
32
Src/main.c
@ -50,13 +50,14 @@ static void MX_I2C2_Init(void);
|
||||
//
|
||||
|
||||
//choose between one of the dumped SKU (roll types) for emulation
|
||||
//#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.
|
||||
//#define DMO_SKU_30336 // 25 mm x 51 mm / 1 in x 2.125 in / 500 pcs.
|
||||
//#define DMO_SKU_30332 // 25 mm x 25 mm / 1 in x 1 in / 750 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.
|
||||
//#define DMO_SKU_30336 // 25 mm x 51 mm / 1 in x 2.125 in / 500 pcs.
|
||||
//#define DMO_SKU_30332 // 25 mm x 25 mm / 1 in x 1 in / 750 pcs.
|
||||
//#define DMO_SKU_30252 // 28 mm x 89 mm / 1.125 in x 3.5 in / 350 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
|
||||
@ -66,6 +67,7 @@ static void MX_I2C2_Init(void);
|
||||
//#define SLIX2_TAG_EMU 5
|
||||
//#define SLIX2_TAG_EMU 6
|
||||
//#define SLIX2_TAG_EMU 7
|
||||
//#define SLIX2_TAG_EMU 8
|
||||
|
||||
#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};
|
||||
@ -95,6 +97,10 @@ static const uint8_t DMO_TAG_SLIX2_SIGNATURE[SLIX2_SIGNATURE_LEN] = {0xAC,0xD4,0
|
||||
static const uint8_t DMO_TAG_SLIX2_INVENTORY[SLIX2_INVENTORY_LEN] = {0x01,0xBA,0x97,0xAB,0x44,0x08,0x01,0x04,0xE0};
|
||||
static const uint8_t DMO_TAG_SLIX2_SYSINFO[SLIX2_SYSINFO_LEN] = {0x0F,0xBA,0x97,0xAB,0x44,0x08,0x01,0x04,0xE0,0x01,0x3D,0x4F,0x03,0x01};
|
||||
static const uint8_t DMO_TAG_SLIX2_SIGNATURE[SLIX2_SIGNATURE_LEN] = {0x5F,0x64,0xCC,0x5D,0x9B,0x47,0x1F,0x02,0x26,0xE1,0xD4,0x13,0x6E,0x08,0x6B,0xBF,0x4D,0x71,0x7A,0xB1,0x03,0x14,0x8C,0xE9,0x90,0x93,0xC2,0x7C,0xAD,0xB8,0x79,0x09};
|
||||
#elif SLIX2_TAG_EMU == 8
|
||||
static const uint8_t DMO_TAG_SLIX2_INVENTORY[SLIX2_INVENTORY_LEN] = {0x01,0x31,0x4B,0xA4,0x44,0x08,0x01,0x04,0xE0};
|
||||
static const uint8_t DMO_TAG_SLIX2_SYSINFO[SLIX2_SYSINFO_LEN] = {0x0F,0x31,0x4B,0xA4,0x44,0x08,0x01,0x04,0xE0,0x01,0x3D,0x4F,0x03,0x01};
|
||||
static const uint8_t DMO_TAG_SLIX2_SIGNATURE[SLIX2_SIGNATURE_LEN] = {0xE3,0x27,0x6A,0x9C,0xD7,0x8B,0xA0,0xB3,0x37,0x2F,0xAD,0xF2,0x2E,0x14,0xBF,0x87,0xF7,0x48,0x32,0x18,0x72,0x02,0xF3,0xBF,0x0D,0x5A,0xAD,0xBF,0x23,0xA9,0x44,0xD8};
|
||||
#endif
|
||||
|
||||
#if defined (DMO_SKU_S0722430)
|
||||
@ -181,6 +187,18 @@ 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,0xC7,0xFC,0x00,0x01
|
||||
};
|
||||
#endif
|
||||
#if defined (DMO_SKU_30252)
|
||||
static const uint8_t DMO_TAG_SLIX2_BLOCKS[SLIX2_BLOCKS*sizeof(uint32_t)] = { //30252 28 x 89 mm, 350 pcs.
|
||||
0x03,0x0A,0x82,0xED,0x86,0x39,0x61,0xD2,0x03,0x14,0x1E,0x32,0xB6,0xCA,0x00,0x3C,0x59,0x25,0x6B,0x9D,0x33,0x30,0x32,0x35,0x32,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x24,0x01,0x01,0x00,0x00,0x00,
|
||||
0xA3,0x03,0x1E,0x00,0x24,0x00,0x00,0x00,0x00,0x00,0x0F,0x00,0x79,0x03,0x17,0x01,0x00,0x00,0x00,0x00,0x37,0x01,0x5E,0x01,0xAA,0x3F,0x23,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0xD7,0xFA,0x00,0x1C,0x9B,0xF0,0x73,0x6B,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x35,0x80,0x3F,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x32,0x8C,0x00,0x30,0x67,0xCD,0x01,0xEF,0x00,0x00,0x00,0x00,0x89,0x36,0x77,0x59,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,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,0x7F,0xFE,0x00,0x01
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user