Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » ISO11783 Interaction Layer » Iso11783IL_UnfreezeTp

Iso11783IL_UnfreezeTp

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long Iso11783IL_UnfreezeTp(dword protocol, dword sa, dword da); //Form 1
long Iso11783IL_UnfreezeTp(dbNode node, dword protocol, dword sa, dword da); //Form 2

Description

Unfreezes (resumes) the current transport protocol (BAM, RTS/CTS) connection that matches the given protocol, source address and destination address. The source address specifies the originator (the node sending RTS or BAM) and the destination address specifies the receiver (the node sending CTS, or 255 for BAM) of a connection. If the connection was not found, an error will be returned. Only a connection that has been frozen by Iso11783IL_FreezeTp can be resumed. The connection then acts as if no interruption occurred. That means, if the connection was frozen in a state waiting for a response, the connection will wait for that exact response after it is resumed. Timeouts of the connection resume with the remaining amount of time.

Parameters

  • node: Simulation node to apply the function.
  • protocol:
    • 1: BAM
    • 2: RTS/CTS
    • 3: Fast Packet (not supported)
    • 4: ETP (ISO11783 Interaction Layer)
    • 5: FD TP BAM (not supported)
    • 6: FD TP RTS/CTS (not supported)
  • sa: 0-255
  • da: 0-255

Return Values

  • 0: OK
  • 0x050008: Connection not found

Example

See Iso11783IL_FreezeTp