Publisher inconsistency on SourceVariable Error
In the Publisher, there are two failures cases while retrieving Values from user application:
- The value is returned "Bad" from application (typically ``)
- The value was returned by application, but the type mismatches the field metadata.
In the first case, the Publisher will replace the Value by a Bad statusCode (As the possibility is shown in Fig 23 Part 14 - 1.05), and the message is sent. In the second case, the Publisher does not send the message.
It seems that using OpcUa_BadTypeMismatch
StatusCode in the second case should be done.
Additional details:
- In the function
SOPC_PubSubHelpers_IsCompatibleVariant
andMessageCtx_send_publish_message
, replace references of table 16 (1.04) to Table 26 (And explicit the 1.05 version)
Edited by Jérémie Chabod