提交512年b0789 通过 developer2

版本1.4 Mifare Plus EV1和Mifare Plus SE错误修复

bd05eeab
自由21 d0ae29
子项目提交6558年d34086e866ca1c9020cbf1ca88858a88a028
子项目提交21 d0ae2953900830736c10578f4e7aee42a57fce
@@ -5,7 +5,7 @@
的ifndef INI_H_
#定义INI_H_
#定义APP_VERSION "3.
#定义APP_VERSION "4
#定义EXIT_ON_WRONG_FW_DEPENDENCY
#定义MIN_DEPEND_FW_VER_MAJOR
@@ -459,8 +459,8 @@ void PersoCard(void)
返回
}
如果dl_card_type>=DL_MIFARE_PLUS_S_2K_SL0
& &dl_card_type<=DL_MIFARE_PLUS_X_4K_SL0
如果dl_card_type>=DL_MIFARE_PLUS_S_2K_SL0& &dl_card_type<=DL_MIFARE_PLUS_X_4K_SL0))
& &dl_card_type! =DL_MIFARE_PLUS_EV1_2K_SL0& &dl_card_type! =DL_MIFARE_PLUS_EV1_4K_SL0& &dl_card_type! =DL_MIFARE_PLUS_SE_SL0
{
printf\ n卡未处于安全级别0模式\ n);
返回
@@ -1581,7 +1581,8 @@ void DataRead(void)
||dl_card_type>=DL_MIFARE_PLUS_S_2K_SL3
& &dl_card_type<=DL_MIFARE_PLUS_EV1_2K_SL3
||dl_card_type>=DL_MIFARE_PLUS_S_2K_SL3
& &dl_card_type<=DL_MIFARE_PLUS_EV1_4K_SL3)))
& &dl_card_type<=DL_MIFARE_PLUS_EV1_4K_SL3
||dl_card_type==DL_MIFARE_PLUS_SE_SL1||dl_card_type==DL_MIFARE_PLUS_SE_SL3)))
{
printf\ n卡未处于安全级别1或3模式\ n);
返回
@@ -1601,7 +1602,8 @@ void DataRead(void)
如果((dl_card_type>=DL_MIFARE_PLUS_S_2K_SL1
& &dl_card_type<=DL_MIFARE_PLUS_EV1_2K_SL1
||dl_card_type>=DL_MIFARE_PLUS_S_4K_SL1
& &dl_card_type<=DL_MIFARE_PLUS_EV1_4K_SL1))
& &dl_card_type<=DL_MIFARE_PLUS_EV1_4K_SL1
||dl_card_type==DL_MIFARE_PLUS_SE_SL1
{
printf(1) -提供CRYPTO 1密钥\ n
(2) -读取器CRYPTO 1密钥\ n
@@ -2231,7 +2233,8 @@ void DataRead(void)
如果((dl_card_type>=DL_MIFARE_PLUS_S_2K_SL1
& &dl_card_type<=DL_MIFARE_PLUS_EV1_2K_SL1
||dl_card_type>=DL_MIFARE_PLUS_S_4K_SL1
& &dl_card_type<=DL_MIFARE_PLUS_EV1_4K_SL1))
& &dl_card_type<=DL_MIFARE_PLUS_EV1_4K_SL1
||dl_card_type==DL_MIFARE_PLUS_SE_SL1
{
printf(1) -提供CRYPTO 1密钥\ n
(2) -读取器CRYPTO 1密钥\ n
@@ -2953,7 +2956,8 @@ void DataRead(void)
如果((dl_card_type>=DL_MIFARE_PLUS_S_2K_SL1
& &dl_card_type<=DL_MIFARE_PLUS_EV1_2K_SL1
||dl_card_type>=DL_MIFARE_PLUS_S_4K_SL1
& &dl_card_type<=DL_MIFARE_PLUS_EV1_4K_SL1))
& &dl_card_type<=DL_MIFARE_PLUS_EV1_4K_SL1
||dl_card_type==DL_MIFARE_PLUS_SE_SL1
{
printf(1) -提供CRYPTO 1密钥\ n
(2) -读取器CRYPTO 1密钥\ n
@@ -3699,7 +3703,8 @@无效数据写入(无效)
||dl_card_type>=DL_MIFARE_PLUS_S_2K_SL3
& &dl_card_type<=DL_MIFARE_PLUS_EV1_2K_SL3
||dl_card_type>=DL_MIFARE_PLUS_S_2K_SL3
& &dl_card_type<=DL_MIFARE_PLUS_EV1_4K_SL3)))
& &dl_card_type<=DL_MIFARE_PLUS_EV1_4K_SL3
||dl_card_type==DL_MIFARE_PLUS_SE_SL1||dl_card_type==DL_MIFARE_PLUS_SE_SL3)))
{
printf\ n卡未处于安全级别1或3模式\ n);
返回
@@ -3720,7 +3725,8 @@无效数据写入(无效)
如果((dl_card_type>=DL_MIFARE_PLUS_S_2K_SL1
& &dl_card_type<=DL_MIFARE_PLUS_EV1_2K_SL1
||dl_card_type>=DL_MIFARE_PLUS_S_4K_SL1
& &dl_card_type<=DL_MIFARE_PLUS_EV1_4K_SL1))
& &dl_card_type<=DL_MIFARE_PLUS_EV1_4K_SL1
||dl_card_type==DL_MIFARE_PLUS_SE_SL1
{
printf(1) -提供CRYPTO 1密钥\ n
(2) -读取器CRYPTO 1密钥\ n
@@ -4374,7 +4380,8 @@无效数据写入(无效)
如果((dl_card_type>=DL_MIFARE_PLUS_S_2K_SL1
& &dl_card_type<=DL_MIFARE_PLUS_EV1_2K_SL1
||dl_card_type>=DL_MIFARE_PLUS_S_4K_SL1
& &dl_card_type<=DL_MIFARE_PLUS_EV1_4K_SL1))
& &dl_card_type<=DL_MIFARE_PLUS_EV1_4K_SL1
||dl_card_type==DL_MIFARE_PLUS_SE_SL1
{
printf(1) -提供CRYPTO 1密钥\ n
(2) -读取器CRYPTO 1密钥\ n
@@ -5121,7 +5128,8 @@ void DataWrite(void)
如果((dl_card_type>=DL_MIFARE_PLUS_S_2K_SL1
& &dl_card_type<=DL_MIFARE_PLUS_EV1_2K_SL1
||dl_card_type>=DL_MIFARE_PLUS_S_4K_SL1
& &dl_card_type<=DL_MIFARE_PLUS_EV1_4K_SL1))
& &dl_card_type<=DL_MIFARE_PLUS_EV1_4K_SL1
||dl_card_type==DL_MIFARE_PLUS_SE_SL1
{
printf(1) -提供CRYPTO 1密钥\ n
(2) -读取器CRYPTO 1密钥\ n
@@ - 21,6 + 21,10 @@ sz_ptr GetDlTypeName(uint8_t dl_type_code)
返回“DL_GENERIC_ISO14443_4_TYPE_B”
情况下DL_GENERIC_ISO14443_3_TYPE_B
返回“DL_GENERIC_ISO14443_3_TYPE_B”
情况下DL_MIFARE_PLUS_EV1_2K_SL0
返回“DL_MIFARE_PLUS_EV1_2K_SL0”
情况下DL_MIFARE_PLUS_EV1_4K_SL0
返回“DL_MIFARE_PLUS_EV1_4K_SL0”
情况下DL_IMEI_UID
返回“DL_IMEI_UID”
}
    减价支持
    0%
    你要添加0讨论。小心行事。
    先完成编辑此消息!
    注册发表评论
    Baidu
    map