RespAuthorize

RespAuthorize 1:

With this method, an OCPP server responds to an Authorize request from an OCPP client.

RespAuthorize 2:

Syntax

METHOD RespAuthorize : BOOL
VAR_INPUT
    hStationId : UDINT;
    hMessageId : T_OCPP_MessageId;
    eStatus    : E_OCPP1_AuthorizationStatus;
END_VAR

RespAuthorize 3: Return value

Name

Type

Description

RespAuthorize

BOOL

The method returns the return value TRUE if the call was successful. A method call is also considered successfully completed in the event of an error.

RespAuthorize 4: Inputs

Name

Type

Description

hStationId

UDINT

Identifier of the OCPP client in the instance of the OCPP server.

hMessageId

T_OCPP_MessageId

MessageId of the received message.

eStatus

E_OCPP1_AuthorizationStatus

Status of the authorization in response to the OCPP client.

Possible errors are output at the outputs bError and hrErrorCode of the function block instance.