Skip to main content

Documentation Index

Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

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