CmpTlsBufferDataReceived
(FUN)
FUNCTION CmpTlsBufferDataReceived : RTS_IEC_RESULT
This function is used to indicate that the Rx buffer contains new TLS data. Call this function is new data have arrived. All data of the buffer has to be consumed by the TLS implementation before overwritting the existing data and calling this funciton. Call TlsRead until the corresponding error code is returned. If not all data is consumed the TLS stream will be broken and the data can’t be decrypted anymore. The Rx buffer will not be changed.
- InOut:
Scope
Name
Type
Comment
Return
CmpTlsBufferDataReceived
RTS_IEC_RESULT
Input
hTlsConn
RTS_IEC_HANDLE
Handle to the TLS connection. Must have been created with CmpTlsBufferOpen