Skip to main content
Open topic with navigation

ConnectionErrorIndication

CAPL Functions » Smart Charging » OCPP » Callback Functions » ConnectionErrorIndication Valid for: CANoe DE • CANoe4SW DE

Function Syntax

void ConnectionErrorIndication(WebsocketConnectionErrorType error);

Description

The callback is called when an error regarding the WebSocket connection occurred.

Parameters

  • error
    Type of error:
    • 1: Error during TCP connection setup
    • 2: Wrong subprotocol in WebSocket handshake detected

Return Values

Example