S2OPC OPCUA Toolkit
Loading...
Searching...
No Matches
sopc_reader_layer.h File Reference

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
 

Function Documentation

◆ SOPC_Reader_Read_UADP()

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

Parameters
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.

Variable Documentation

◆ SOPC_Reader_NetworkMessage_Default_Readers

const SOPC_UADP_NetworkMessage_Reader_Callbacks SOPC_Reader_NetworkMessage_Default_Readers
extern

Return default reception filtering functions.