SubscribeMQTTMethods (FB)ΒΆ
FUNCTION_BLOCK SubscribeMQTTMethods EXTENDS CBML.LCon
Function block to subscribe MQTT methods.
- InOut:
Scope
Name
Type
Comment
Inherited from
Input
xEnableBOOLTRUE: Activates the defined operationFALSE: Aborts/resets the defined operationLCon
Output
xDoneBOOLTRUE: Ready condition reachedLCon
xBusyBOOLTRUE: Operation is runningLCon
xErrorBOOLTRUE: Error condition reachedLCon
Input
pbMethodPayloadPOINTER TO BYTE
Pointer to method input payload buffer
udiMaxMethodPayloadSizeUDINTMaximum size of pbMethodPayload
itfMethodInvokerMethod invoker
Inout
azureMQTTClientReference to AzureMQTTClient
Output
eErrorMQTT.MQTT_ERRORError code
udiPayloadSizeUDINTLength of the device twin