S2OPC OPCUA Toolkit
|
#include "sopc_buffer.h"
#include "sopc_network_layer.h"
#include "sopc_pubsub_conf.h"
#include "sopc_pubsub_security.h"
#include "sopc_sub_target_variable.h"
Go to the source code of this file.
Functions | |
SOPC_NetworkMessage_Error_Code | SOPC_Reader_Read_UADP (const SOPC_PubSubConnection *connection, SOPC_Buffer *buffer, SOPC_SubTargetVariableConfig *config, SOPC_UADP_GetSecurity_Func securityCBck, SOPC_UADP_UpdateTimeout_Func updateTimeoutCBck, SOPC_UADP_GetTargetVariable_Func targetVariableCBck, SOPC_UADP_IsWriterSequenceNumberNewer_Func snCBck) |
Variables | |
const SOPC_UADP_NetworkMessage_Reader_Callbacks | SOPC_Reader_NetworkMessage_Default_Readers |
SOPC_NetworkMessage_Error_Code SOPC_Reader_Read_UADP | ( | const SOPC_PubSubConnection * | connection, |
SOPC_Buffer * | buffer, | ||
SOPC_SubTargetVariableConfig * | config, | ||
SOPC_UADP_GetSecurity_Func | securityCBck, | ||
SOPC_UADP_UpdateTimeout_Func | updateTimeoutCBck, | ||
SOPC_UADP_GetTargetVariable_Func | targetVariableCBck, | ||
SOPC_UADP_IsWriterSequenceNumberNewer_Func | snCBck ) |
Decode a UADP message and write data
connection | : configuration element of the connection associated to the received data |
buffer | : data to decode |
config | : configuration to provide to the target module which consumes the decoded data |
securityCBck | : function to retrieve security information needed to decrypt Payload and check signature |
updateTimeoutCBck | : callback to update timeout of a dataSetMessage well decoded |
targetVariableCBck | : callback to retrieve SOPC_TargetVariableCtx of a dataSetMessage well decoded, can be NULL. |
snCBck | : callback to check if DSM sequence number received is newer. Can be NULL then sequence number will not be checked. |
|
extern |
Return default reception filtering functions.