3.1.5.1 Receiving a Handshake Header

  1. When a Handshake Header (section 2.2.1.1) arrives through a per-session Socket, the initiator checks the Handshaking field. If it is not set, the initiator MUST tear down the Diagnostic Session and return failure of the request to the calling layer.

    Otherwise, the initiator checks that the fields of the Handshake Header are valid. If not, the initiator MUST tear down the Diagnostic Session and return failure of the request to the calling layer.

  2. The per-session Handshaking field MUST be cleared and the Pended Request MUST be set to Connect (value 0x0009). The Per-Session Response timer MUST not be reset. The initiator now waits for the Connect Response Message (section 2.2.2.2) to arrive before it can continue processing.