as608: send mqtt message on non-matching finger (#20287)

This commit is contained in:
Bernhard Urban-Forster 2023-12-22 14:21:59 +01:00 committed by GitHub
parent 0e87096bad
commit 5988e77f8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -172,6 +172,8 @@ void As608Loop(void) {
p = As608Finger->fingerSearch(); // Match found
if (p != FINGERPRINT_OK) {
// AddLog(LOG_LEVEL_DEBUG, PSTR("AS6: No matching finger"));
Response_P(PSTR("{\"" D_JSON_FPRINT "\":\"NOMATCH\"}"));
MqttPublishPrefixTopicRulesProcess_P(RESULT_OR_STAT, PSTR(D_JSON_FPRINT));
return;
}