CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

Transport protocol: reset codes TPCS: Transport Protocol Client Side TPSS: Transport Protocol Server Side.

Enumerator
CLTP_ResetCode_ServerConnectionLost 

Happens when the TPCS does not receive keep alive within CLTP_CLCKEEPALIVE_DELAYBEFORERESET.

CLTP_ResetCode_KeepAlive 

Happens when a keep alive error occurred in the TPCS or TPCC.

CLTP_ResetCode_PeerAskResetState 

Happens when a peer (TPCS or TPCC) asks to its counterpart to reset its state.

CLTP_ResetCode_ClientReconnection 

Happens when TPCC try to connect (INITPARAMS) while TPCS state is already connected. TPCS MUST reset its state.

CLTP_ResetCode_StateMismatch 

Happens when a peer (TPCS or TPCC) sent a command not understood by its counterpart. There is a sync error between TPCC and TPCS : state must be reset.