IoTmanager2.ino: In function 'void pubStatus(String, String)':
IoTmanager2.ino:199:46: error: no matching function for call to 'PubSubClient:
ublish(StringSumHelper&, String&)'
IoTmanager2.ino:199:46: note: candidates are:
In file included from IoTmanager2.ino:11:0:
D:\Documents\Arduino\libraries\pubsubclient-master\src/PubSubClient.h:113:12: note: boolean PubSubClient:
ublish(const char*, const char*)
boolean publish(const char* topic, const char* payload);
^
D:\Documents\Arduino\libraries\pubsubclient-master\src/PubSubClient.h:113:12: note: no known conversion for argument 1 from 'StringSumHelper' to 'const char*'
D:\Documents\Arduino\libraries\pubsubclient-master\src/PubSubClient.h:114:12: note: boolean PubSubClient:
ublish(const char*, const char*, boolean)
boolean publish(const char* topic, const char* payload, boolean retained);
^
D:\Documents\Arduino\libraries\pubsubclient-master\src/PubSubClient.h:114:12: note: candidate expects 3 arguments, 2 provided
D:\Documents\Arduino\libraries\pubsubclient-master\src/PubSubClient.h:115:12: note: boolean PubSubClient:
ublish(const char*, const uint8_t*, unsigned int)
boolean publish(const char* topic, const uint8_t * payload, unsigned int plength);
^
D:\Documents\Arduino\libraries\pubsubclient-master\src/PubSubClient.h:115:12: note: candidate expects 3 arguments, 2 provided
D:\Documents\Arduino\libraries\pubsubclient-master\src/PubSubClient.h:116:12: note: boolean PubSubClient:
ublish(const char*, const uint8_t*, unsigned int, boolean)
boolean publish(const char* topic, const uint8_t * payload, unsigned int plength, boolean retained);
^
D:\Documents\Arduino\libraries\pubsubclient-master\src/PubSubClient.h:116:12: note: candidate expects 4 arguments, 2 provided
IoTmanager2.ino: At global scope:
IoTmanager2.ino:205:21: error: 'MQTT' does not name a type
IoTmanager2.ino:205:34: error: expected unqualified-id before '&' token
IoTmanager2.ino:205:34: error: expected ')' before '&' token
IoTmanager2.ino:205:36: error: expected initializer before 'sub'
Multiple libraries were found for "ESP8266WiFi.h"
Used: D:\Documents\Arduino\libraries\ESP8266WiFi
Not used: C:\Users\kuril\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\1.6.5-947-g39819f0\libraries\ESP8266WiFi
Multiple libraries were found for "PubSubClient.h"
Used: D:\Documents\Arduino\libraries\pubsubclient-master
Not used: D:\Documents\Arduino\libraries\pubsubclient
no matching function for call to 'PubSubClient:
ublish(StringSumHelper&, String&)'