12345678910111213141516171819202122232425262728293031323334353637383940 |
- #ifndef UA_PLUGIN_MQTT_H_
- #define UA_PLUGIN_MQTT_H_
- #ifdef __cplusplus
- extern "C" {
- #endif
- #include "ua_network_pubsub_mqtt.h"
- UA_StatusCode
- connectMqtt(UA_PubSubChannelDataMQTT*);
- UA_StatusCode
- disconnectMqtt(UA_PubSubChannelDataMQTT*);
- UA_StatusCode
- unSubscribeMqtt(UA_PubSubChannelDataMQTT*, UA_String topic);
- UA_StatusCode
- publishMqtt(UA_PubSubChannelDataMQTT*, UA_String topic, const UA_ByteString *buf, UA_Byte qos);
- UA_StatusCode
- subscribeMqtt(UA_PubSubChannelDataMQTT*, UA_String topic, UA_Byte qos);
- UA_StatusCode
- yieldMqtt(UA_PubSubChannelDataMQTT*, UA_UInt16 timeout);
-
- #ifdef __cplusplus
- }
- #endif
- #endif
|