|
@@ -230,6 +230,13 @@ static void processMessage(UA_Connection *connection, UA_Server *server, const U
|
|
|
}
|
|
|
break;
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ **/
|
|
|
+
|
|
|
case UA_READREQUEST_NS0:
|
|
|
INVOKE_SERVICE(Read);
|
|
|
break;
|
|
@@ -318,6 +325,11 @@ static void processMessage(UA_Connection *connection, UA_Server *server, const U
|
|
|
static void processClose(UA_Connection *connection, UA_Server *server, const UA_ByteString *msg, UA_UInt32 *pos) {
|
|
|
|
|
|
|
|
|
+ UA_UInt32 secureChannelId;
|
|
|
+ UA_UInt32_decodeBinary(msg, pos, &secureChannelId);
|
|
|
+
|
|
|
+
|
|
|
+ Service_CloseSecureChannel(server, secureChannelId);
|
|
|
}
|
|
|
|
|
|
UA_Int32 UA_Server_processBinaryMessage(UA_Server *server, UA_Connection *connection, const UA_ByteString *msg) {
|