IMethodInvoker2.Invoke (METH)ΒΆ

METHOD Invoke

This method will be called of direct method calls, and can return a payload

InOut:

Scope

Name

Type

Initial

Comment

Input

wsMethodName

WSTRING

Name of the method

pbInputPayload

POINTER TO BYTE

Pointer to the input payload

udiMaxInputPayloadSize

UDINT

Maximum size of pbInputPayload

udiPayloadSize

UDINT

Size of pbInputPayload

pbOutputPayload

POINTER TO BYTE

0

Pointer to the output JSON-String e.g. POINTER TO STRING(255)

Output

iStatus

INT

Status of the call