This commit is contained in:
Philippe Teuwen
2023-08-26 01:52:40 +02:00
parent d08c8c4605
commit 65368dffff
@@ -1141,7 +1141,7 @@ int nfc_tag_mf1_data_loadcb(tag_specific_type_t type, tag_data_buffer_t *buffer)
// Factory data for initialization of MF1
bool nfc_tag_mf1_data_factory(uint8_t slot, tag_specific_type_t tag_type) {
// default mf1 data
uint8_t default_blk0[] = { 0xDE, 0xAD, 0xBE, 0xFF, 0x32, 0x08, 0x04, 0x00, 0x01, 0x77, 0xA2, 0xCC, 0x35, 0xAF, 0xA5, 0x1D };
uint8_t default_blk0[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0x22, 0x08, 0x04, 0x00, 0x01, 0x77, 0xA2, 0xCC, 0x35, 0xAF, 0xA5, 0x1D };
uint8_t default_data[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
uint8_t default_trail[] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0x80, 0x69, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
@@ -1167,7 +1167,7 @@ bool nfc_tag_mf1_data_factory(uint8_t slot, tag_specific_type_t tag_type) {
p_mf1_information->res_coll.uid[0] = 0xDE;
p_mf1_information->res_coll.uid[1] = 0xAD;
p_mf1_information->res_coll.uid[2] = 0xBE;
p_mf1_information->res_coll.uid[3] = 0xFF;
p_mf1_information->res_coll.uid[3] = 0xEF;
p_mf1_information->res_coll.size = NFC_TAG_14A_UID_SINGLE_SIZE;
p_mf1_information->res_coll.ats.length = 0;