From 9534838c19cb93f2ea6926058c5d431301088598 Mon Sep 17 00:00:00 2001 From: md5sum-as Date: Wed, 26 Oct 2022 00:56:44 +0300 Subject: [PATCH] renamed the commands Sensor40, increased recording to 32, stage 2 --- tasmota/tasmota_xsns_sensor/xsns_40_pn532.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/tasmota_xsns_sensor/xsns_40_pn532.ino b/tasmota/tasmota_xsns_sensor/xsns_40_pn532.ino index 7e40e58d3..35bbfd5e6 100644 --- a/tasmota/tasmota_xsns_sensor/xsns_40_pn532.ino +++ b/tasmota/tasmota_xsns_sensor/xsns_40_pn532.ino @@ -671,7 +671,7 @@ bool PN532_Command(void) { if (!strncmp_P(argument,PSTR("ERASE"),5)) { Pn532.function = 1; // Block 1 of next card/tag will be reset to 0x00... AddLog(LOG_LEVEL_INFO, PSTR("NFC: PN532 NFC - Next scanned tag data block 1 will be erased")); - ResponseTime_P(PSTR(",\"PN532\":{\"COMMAND\":\"E\"}}")); + ResponseTime_P(PSTR(",\"PN532\":{\"COMMAND\":\"ERASE\"}}")); return serviced; } else if (!strncmp_P(argument,PSTR("WRITE"),5)) { @@ -685,7 +685,7 @@ bool PN532_Command(void) { if (strlen(argument)>32) argument[32]=0; Pn532.function = 2; AddLog(LOG_LEVEL_INFO, PSTR("NFC: PN532 NFC - Next scanned tag data block 1 will be set to '%s'"), argument); - ResponseTime_P(PSTR(",\"PN532\":{\"COMMAND\":\"S\"}}")); + ResponseTime_P(PSTR(",\"PN532\":{\"COMMAND\":\"WRITE\"}}")); return serviced; } } else