Skip to main content

DoIP_SetPowerModeInformation

Feature availability for your product: CANoe DE Note The following DoIP CAPL function is only available with the modeling library DoIP.dll and eventually an appropriate implementation of the CAPL Callback Interface. Information about the DoIP DLL and the CAPL Callback Interface you find here:

Function Syntax

void DoIP_SetPowerModeInformation(long powerMode);

Description

Sets the value returned automatically for a Power Mode Information Request.

Parameters

  • powerMode
    -1: do not send a response for the request
    0: not ready
    1: ready
    2: not supported (default)
    Others: reserved

Return Values

Example

// The ECU simulation will return "ready" if the power mode is requested
DoIP_SetPowerModeInformation(1);
DoIP_SendPowerModeInformationRequest