Dependents: mqtt_Autofaehrschiff MQTT_Nucleo_dht11 mqtt_Testprogramm_FritzBox mqtt_TestprogrammWorkshop ... more
Diff: PubSubClient.h
- Revision:
- 4:1c121432898d
- Parent:
- 3:d8582413a5a1
- Child:
- 5:145eff603968
--- a/PubSubClient.h Tue Jul 13 06:14:41 2021 +0000 +++ b/PubSubClient.h Tue Aug 17 16:40:44 2021 +0000 @@ -30,6 +30,8 @@ PubSubClient(); bool connect(char* clientName); int publish(const char* topic, const char* buf); + int publish(const char* topic, const char* buf, MQTT::QoS qos); + int publish(const char* topic, const char* buf, MQTT::QoS qos, bool retain); int subscribe(const char* topicFilter, MQTT::QoS qos, MQTTClient::messageHandler mh); //int subscribe(const char* topic,Callback< void(string)> func); //static void subscribeCallback(MessageData& mymessage);