diff options
author | tjahnk <tjahnk@users.noreply.github.com> | 2017-08-03 16:55:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-03 16:55:45 +0200 |
commit | 01475efcf23f47c13f44b057e42decb916117d67 (patch) | |
tree | 7e48967a3b2587cbb898173ba4da49fc0cdb6a50 /ucs2-interface/ucs_lib_interf.c | |
parent | c69b4176bc56eef84a78e9160ba7516b8c7cc9d7 (diff) | |
parent | e9aa8f0519f75d8dc1d698e11596c4720cd977e5 (diff) |
Merge pull request #18 from tjahnk/basic_events
Introduced basic event handling, adds subscribe function and node-availability event
Diffstat (limited to 'ucs2-interface/ucs_lib_interf.c')
-rw-r--r-- | ucs2-interface/ucs_lib_interf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ucs2-interface/ucs_lib_interf.c b/ucs2-interface/ucs_lib_interf.c index 52840ba..9e7167d 100644 --- a/ucs2-interface/ucs_lib_interf.c +++ b/ucs2-interface/ucs_lib_interf.c @@ -784,6 +784,8 @@ static void OnUcsMgrReport(Ucs_MgrReport_t code, uint16_t node_address, Ucs_Rm_N UCSI_CB_OnUserMessage(my->tag, true, "Node=%X: unknown code", 1, node_address); break; } + + UCSI_CB_OnMgrReport(my->tag, code, node_address, node_ptr); } static void OnUcsNsRun(Ucs_Rm_Node_t * node_ptr, Ucs_Ns_ResultCode_t result, void *ucs_user_ptr) |