RecvSecurityEventNotification

RecvSecurityEventNotification 1:

With this method, an OCPP server receives a Security Event Notification from the connected OCPP client. To respond to the Security Event Notification, the RespSecurityEventNotification method must be called.

RecvSecurityEventNotification 2:

Syntax

METHOD RecvSecurityEventNotification : BOOL
VAR_OUTPUT
    hMessageId : T_OCPP_MessageId;
    nTimestamp : ULINT;
    sType      : STRING(63);
    sInfo      : STRING(256);
END_VAR

RecvSecurityEventNotification 3: Return value

Name

Type

Description

RecvSecurityEventNotification

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.

RecvSecurityEventNotification 4: Outputs

Name

Type

Description

hMessageId

T_OCPP_MessageId

MessageId of the received message.

nTimestamp

ULINT

Date and time when the event occurs.

sType

STRING(63)

Type of the Security Event according to the OCPP specification.

sInfo

STRING(256)

Additional information about the Security Event that has occurred.

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