MQTT_ConfigSubscriber (FB)ΒΆ
FUNCTION_BLOCK MQTT_ConfigSubscriber
Function Block to receive device Configuration over the Google Cloud Iot Core MQTT Bridge
- InOut:
Scope
Name
Type
Comment
Inout
MQTTBridgeInstance of the MQTT Bridge
Input
xEnableBOOLSubscribes configuration changes
pbConfigPayloadPOINTER TO BYTE
Pointer to Configuration Payload
uiMaxConfigPayloadSizeUDINTMaximal size of Configuration Payload
eQoSMQTT.MQTT_QOSQuality of Service of the Configuration Subscriber
Output
eErrorOutput Error
eMQTTErrorMQTT.MQTT_ERRORError from MQTT
xSubscribeActiveBOOLSubcriber is active and lisenig
xReceivedBOOLReceived a message
xBusyBOOLxDoneBOOLxErrorBOOL