diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-11-11 21:27:48 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-11-11 21:27:48 +0100 |
commit | a6e44f5f0631ce49237f5e3f81f2d8682631e35f (patch) | |
tree | d6f5db18f7c0a0fd97aa3be78322ad89670c5c57 /agl-identity-service/src | |
parent | 0edd59adc7d824487d275938e032663bc075f60f (diff) |
Restore 'incoming' event
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'agl-identity-service/src')
-rw-r--r-- | agl-identity-service/src/agl-identity-binding.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)); |