Deliver network connection label
authorThorsten Kummermehr <thorsten.kummermehr@k2l.de>
Tue, 7 Nov 2017 15:31:13 +0000 (16:31 +0100)
committerThorsten Kummermehr <thorsten.kummermehr@k2l.de>
Tue, 7 Nov 2017 15:31:13 +0000 (16:31 +0100)
ucs2-afb/ucs_binding.c
ucs2-interface/ucs_interface.h

index ee1bce6..0b4c378 100644 (file)
@@ -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)
 {
 }
 
index 4ddc588..9fc2475 100644 (file)
@@ -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