EnqueueRead

The method adds an instance of FB_IotFunctions_Message for read operations.
Syntax
METHOD EnqueueRead : BOOL
VAR_INPUT
pMessageFB : POINTER TO FB_IotFunctions_Message;
pPayload : POINTER TO PVOID;
nPayloadSize: UDINT;
END_VAR
Return value
Name | Type | Description |
---|---|---|
EnqueueRead | BOOL | Indicates whether the call was successful. |
Inputs
Name | Type | Description |
---|---|---|
pMessageFB | POINTER TO FB_IotFunctions_Message | Pointer to an object of type FB_IotFunctions_Message. |
pPayload | POINTER TO PVOID | Address of the content. |
nPayloadSize | UDINT | Size of the content. |