Arduino:1.6.7 (Windows 7), Плата:"Generic ESP8266 Module, Serial, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck"
WARNING: Category '' in library OneWire is not valid. Setting to 'Uncategorized'
IoMQTT:28: error: no matching function for call to 'PubSubClient:
ubSubClient(WiFiClient&, IPAddress&, int&)'
PubSubClient client(wclient, server, mqttport);
^
F:\ARDUINO\MY\IoMQTT\IoMQTT.ino:28:46: note: candidates are:
In file included from F:\ARDUINO\MY\IoMQTT\IoMQTT.ino:12:0:
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:103:4: note: PubSubClient:
ubSubClient(const char*, uint16_t, void (*)(char*, uint8_t*, unsigned int), Client&, Stream&)
PubSubClient(const char*, uint16_t, MQTT_CALLBACK_SIGNATURE,Client& client, Stream&);
^
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:103:4: note: candidate expects 5 arguments, 3 provided
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:102:4: note: PubSubClient:
ubSubClient(const char*, uint16_t, void (*)(char*, uint8_t*, unsigned int), Client&)
PubSubClient(const char*, uint16_t, MQTT_CALLBACK_SIGNATURE,Client& client);
^
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:102:4: note: candidate expects 4 arguments, 3 provided
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:101:4: note: PubSubClient:
ubSubClient(const char*, uint16_t, Client&, Stream&)
PubSubClient(const char*, uint16_t, Client& client, Stream&);
^
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:101:4: note: candidate expects 4 arguments, 3 provided
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:100:4: note: PubSubClient:
ubSubClient(const char*, uint16_t, Client&)
PubSubClient(const char*, uint16_t, Client& client);
^
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:100:4: note: no known conversion for argument 1 from 'WiFiClient' to 'const char*'
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:99:4: note: PubSubClient:
ubSubClient(uint8_t*, uint16_t, void (*)(char*, uint8_t*, unsigned int), Client&, Stream&)
PubSubClient(uint8_t *, uint16_t, MQTT_CALLBACK_SIGNATURE,Client& client, Stream&);
^
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:99:4: note: candidate expects 5 arguments, 3 provided
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:98:4: note: PubSubClient:
ubSubClient(uint8_t*, uint16_t, void (*)(char*, uint8_t*, unsigned int), Client&)
PubSubClient(uint8_t *, uint16_t, MQTT_CALLBACK_SIGNATURE,Client& client);
^
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:98:4: note: candidate expects 4 arguments, 3 provided
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:97:4: note: PubSubClient:
ubSubClient(uint8_t*, uint16_t, Client&, Stream&)
PubSubClient(uint8_t *, uint16_t, Client& client, Stream&);
^
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:97:4: note: candidate expects 4 arguments, 3 provided
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:96:4: note: PubSubClient:
ubSubClient(uint8_t*, uint16_t, Client&)
PubSubClient(uint8_t *, uint16_t, Client& client);
^
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:96:4: note: no known conversion for argument 1 from 'WiFiClient' to 'uint8_t* {aka unsigned char*}'
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:95:4: note: PubSubClient:
ubSubClient(IPAddress, uint16_t, void (*)(char*, uint8_t*, unsigned int), Client&, Stream&)
PubSubClient(IPAddress, uint16_t, MQTT_CALLBACK_SIGNATURE,Client& client, Stream&);
^
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:95:4: note: candidate expects 5 arguments, 3 provided
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:94:4: note: PubSubClient:
ubSubClient(IPAddress, uint16_t, void (*)(char*, uint8_t*, unsigned int), Client&)
PubSubClient(IPAddress, uint16_t, MQTT_CALLBACK_SIGNATURE,Client& client);
^
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:94:4: note: candidate expects 4 arguments, 3 provided
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:93:4: note: PubSubClient:
ubSubClient(IPAddress, uint16_t, Client&, Stream&)
PubSubClient(IPAddress, uint16_t, Client& client, Stream&);
^
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:93:4: note: candidate expects 4 arguments, 3 provided
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:92:4: note: PubSubClient:
ubSubClient(IPAddress, uint16_t, Client&)
PubSubClient(IPAddress, uint16_t, Client& client);
^
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:92:4: note: no known conversion for argument 1 from 'WiFiClient' to 'IPAddress'
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:91:4: note: PubSubClient:
ubSubClient(Client&)
PubSubClient(Client& client);
^
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:91:4: note: candidate expects 1 argument, 3 provided
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:90:4: note: PubSubClient:
ubSubClient()
PubSubClient();
^
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:90:4: note: candidate expects 0 arguments, 3 provided
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:70:7: note: constexpr PubSubClient:
ubSubClient(const PubSubClient&)
class PubSubClient {
^
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:70:7: note: candidate expects 1 argument, 3 provided
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:70:7: note: constexpr PubSubClient:
ubSubClient(PubSubClient&&)
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:70:7: note: candidate expects 1 argument, 3 provided
F:\ARDUINO\MY\IoMQTT\IoMQTT.ino: In function 'void pubStatus(String, String)':
IoMQTT:199: error: no matching function for call to 'PubSubClient:
ublish(StringSumHelper&, String&)'
if (client.publish(t + "/status", payload)) {
^
F:\ARDUINO\MY\IoMQTT\IoMQTT.ino:199:46: note: candidates are:
In file included from F:\ARDUINO\MY\IoMQTT\IoMQTT.ino:12:0:
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:117:12: note: boolean PubSubClient:
ublish(const char*, const char*)
boolean publish(const char* topic, const char* payload);
^
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:117:12: note: no known conversion for argument 1 from 'StringSumHelper' to 'const char*'
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:118:12: note: boolean PubSubClient:
ublish(const char*, const char*, boolean)
boolean publish(const char* topic, const char* payload, boolean retained);
^
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:118:12: note: candidate expects 3 arguments, 2 provided
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:119:12: note: boolean PubSubClient:
ublish(const char*, const uint8_t*, unsigned int)
boolean publish(const char* topic, const uint8_t * payload, unsigned int plength);
^
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:119:12: note: candidate expects 3 arguments, 2 provided
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:120: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);
^
F:\ARDUINO\MY\libraries\PubSubClient\src/PubSubClient.h:120:12: note: candidate expects 4 arguments, 2 provided
F:\ARDUINO\MY\IoMQTT\IoMQTT.ino: In function 'void pubConfig()':
IoMQTT:208: error: 'MQTT' has not been declared
MQTT:
ublish newpub(prefix, deviceID);
^
IoMQTT:208: error: expected ';' before 'newpub'
MQTT:
ublish newpub(prefix, deviceID);
^
IoMQTT:209: error: 'newpub' was not declared in this scope
success = client.publish(newpub); //.set_retain()
^
IoMQTT:213: error: 'MQTT' has not been declared
MQTT:
ublish newpub(prefix + "/" + deviceID + "/config", thing_config
);
^
IoMQTT:213: error: expected ';' before 'newpub'
MQTT:ublish newpub(prefix + "/" + deviceID + "/config", thing_config);
^
F:\ARDUINO\MY\IoMQTT\IoMQTT.ino: At global scope:
IoMQTT:235: error: 'MQTT' does not name a type
void callback(const MQTT:ublish& sub) {
^
IoMQTT:235: error: expected unqualified-id before '&' token
void callback(const MQTT:ublish& sub) {
^
IoMQTT:235: error: expected ')' before '&' token
IoMQTT:235: error: expected initializer before 'sub'
void callback(const MQTT:ublish& sub) {
^
Multiple libraries were found for "EthernetUdp.h"
Використано: F:\ARDUINO\MY\libraries\Ethernet
Не застосовується: C:\Users\Andriy\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\Ethernet
Не застосовується: C:\Program Files (x86)\Arduino\libraries\Ethernet
Multiple libraries were found for "OneWire.h"
Використано: F:\ARDUINO\MY\libraries\OneWire
Не застосовується: F:\ARDUINO\MY\libraries\MAX31850_OneWire
Не застосовується: C:\Users\Andriy\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\OneWire
exit status 1
no matching function for call to 'PubSubClient:ubSubClient(WiFiClient&, IPAddress&, int&)'
Цей звіт буде містити більше інформації з
"Показувати докладний звіт при компіляції"
увімкнено в Файл > Налаштування