From a6e44f5f0631ce49237f5e3f81f2d8682631e35f Mon Sep 17 00:00:00 2001 From: José Bollo Date: Sat, 11 Nov 2017 21:27:48 +0100 Subject: Restore 'incoming' event MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: José Bollo --- agl-identity-service/src/agl-identity-binding.c | 1 + 1 file changed, 1 insertion(+) diff --git a/agl-identity-service/src/agl-identity-binding.c b/agl-identity-service/src/agl-identity-binding.c index be118ea..b10703e 100644 --- a/agl-identity-service/src/agl-identity-binding.c +++ b/agl-identity-service/src/agl-identity-binding.c @@ -240,6 +240,7 @@ static void on_nfc_target_add(struct json_object *object) { uid = json_object_get_string(json_uid); AFB_NOTICE("nfc tag detected, call forgerock with vincode=%s and key=%s", vin ? vin : default_vin, uid); + send_event_object("incoming", uid, uid); agl_forgerock_download_request(vin ? vin : default_vin, "nfc", uid); } else AFB_ERROR("nfc target add event is received but no UID found: %s", json_object_to_json_string(object)); -- cgit 1.2.3-korg