diff options
author | Thorsten Kummermehr <thorsten.kummermehr@k2l.de> | 2017-11-07 16:31:13 +0100 |
---|---|---|
committer | Thorsten Kummermehr <thorsten.kummermehr@k2l.de> | 2017-11-07 16:31:13 +0100 |
commit | 1bba2cf81dc69b4ea87ba0ebc366a58eab45ff84 (patch) | |
tree | 350ca4be28746400cb9230397691c7ce1b298a45 | |
parent | 6fc9b47c4d78e8737062e38966c31a06af49e897 (diff) |
Deliver network connection label
-rw-r--r-- | ucs2-afb/ucs_binding.c | 2 | ||||
-rw-r--r-- | ucs2-interface/ucs_interface.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ucs2-afb/ucs_binding.c b/ucs2-afb/ucs_binding.c index ee1bce6..0b4c378 100644 --- a/ucs2-afb/ucs_binding.c +++ b/ucs2-afb/ucs_binding.c @@ -197,7 +197,7 @@ void UCSI_CB_OnAmsMessageReceived(void *pTag) Don't forget to call UCSI_ReleaseAmsMessage after that */ } -void UCSI_CB_OnRouteResult(void *pTag, uint16_t routeId, bool isActive) +void UCSI_CB_OnRouteResult(void *pTag, uint16_t routeId, bool isActive, uint16_t connectionLabel) { } diff --git a/ucs2-interface/ucs_interface.h b/ucs2-interface/ucs_interface.h index 4ddc588..9fc2475 100644 --- a/ucs2-interface/ucs_interface.h +++ b/ucs2-interface/ucs_interface.h @@ -266,8 +266,9 @@ extern void UCSI_CB_OnAmsMessageReceived(void *pTag); * \param pTag - Pointer given by the integrator by UCSI_Init * \param routeId - identifier as given in XML file along with MOST socket (unique) * \param isActive - true, if the route is now in use. false, the route is not established. + * \param connectionLabel - The connection label used on the Network. Only valid, if isActive=true */ -extern void UCSI_CB_OnRouteResult(void *pTag, uint16_t routeId, bool isActive); +extern void UCSI_CB_OnRouteResult(void *pTag, uint16_t routeId, bool isActive, uint16_t connectionLabel); /** * \brief Callback when a INIC GPIO changes its state |