You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from /home/laxtiz/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:176,
from .pio/libdeps/debug/Blinker/src/modules/mqtt/Adafruit_MQTT.h:25,
from .pio/libdeps/debug/Blinker/src/modules/mqtt/Adafruit_MQTT.cpp:22:
.pio/libdeps/debug/Blinker/src/modules/mqtt/Adafruit_MQTT.cpp: In member function 'const char* Adafruit_MQTT::connectErrorString(int8_t)':
/home/laxtiz/.platformio/packages/framework-arduinoespressif32/cores/esp32/WString.h:38:55: error: cannot convert 'const __FlashStringHelper*' to 'const char*' in return
#define F(string_literal) (FPSTR(PSTR(string_literal)))
^
.pio/libdeps/debug/Blinker/src/modules/mqtt/Adafruit_MQTT.cpp:279:22: note: in expansion of macro 'F'
case 1: return F("The Server does not support the level of the MQTT protocol requested");
^
/home/laxtiz/.platformio/packages/framework-arduinoespressif32/cores/esp32/WString.h:38:55: error: cannot convert 'const __FlashStringHelper*' to 'const char*' in return
#define F(string_literal) (FPSTR(PSTR(string_literal)))
^
.pio/libdeps/debug/Blinker/src/modules/mqtt/Adafruit_MQTT.cpp:280:22: note: in expansion of macro 'F'
case 2: return F("The Client identifier is correct UTF-8 but not allowed by the Server");
^
/home/laxtiz/.platformio/packages/framework-arduinoespressif32/cores/esp32/WString.h:38:55: error: cannot convert 'const __FlashStringHelper*' to 'const char*' in return
#define F(string_literal) (FPSTR(PSTR(string_literal)))
^
.pio/libdeps/debug/Blinker/src/modules/mqtt/Adafruit_MQTT.cpp:281:22: note: in expansion of macro 'F'
case 3: return F("The MQTT service is unavailable");
^
/home/laxtiz/.platformio/packages/framework-arduinoespressif32/cores/esp32/WString.h:38:55: error: cannot convert 'const __FlashStringHelper*' to 'const char*' in return
#define F(string_literal) (FPSTR(PSTR(string_literal)))
^
.pio/libdeps/debug/Blinker/src/modules/mqtt/Adafruit_MQTT.cpp:282:22: note: in expansion of macro 'F'
case 4: return F("The data in the user name or password is malformed");
^
/home/laxtiz/.platformio/packages/framework-arduinoespressif32/cores/esp32/WString.h:38:55: error: cannot convert 'const __FlashStringHelper*' to 'const char*' in return
#define F(string_literal) (FPSTR(PSTR(string_literal)))
^
.pio/libdeps/debug/Blinker/src/modules/mqtt/Adafruit_MQTT.cpp:283:22: note: in expansion of macro 'F'
case 5: return F("Not authorized to connect");
^
/home/laxtiz/.platformio/packages/framework-arduinoespressif32/cores/esp32/WString.h:38:55: error: cannot convert 'const __FlashStringHelper*' to 'const char*' in return
#define F(string_literal) (FPSTR(PSTR(string_literal)))
^
.pio/libdeps/debug/Blinker/src/modules/mqtt/Adafruit_MQTT.cpp:284:22: note: in expansion of macro 'F'
case 6: return F("Exceeded reconnect rate limit. Please try again later.");
^
/home/laxtiz/.platformio/packages/framework-arduinoespressif32/cores/esp32/WString.h:38:55: error: cannot convert 'const __FlashStringHelper*' to 'const char*' in return
#define F(string_literal) (FPSTR(PSTR(string_literal)))
^
.pio/libdeps/debug/Blinker/src/modules/mqtt/Adafruit_MQTT.cpp:285:22: note: in expansion of macro 'F'
case 7: return F("You have been banned from connecting. Please contact the MQTT server administrator for more details.");
^
/home/laxtiz/.platformio/packages/framework-arduinoespressif32/cores/esp32/WString.h:38:55: error: cannot convert 'const __FlashStringHelper*' to 'const char*' in return
#define F(string_literal) (FPSTR(PSTR(string_literal)))
^
.pio/libdeps/debug/Blinker/src/modules/mqtt/Adafruit_MQTT.cpp:286:23: note: in expansion of macro 'F'
case -1: return F("Connection failed");
^
/home/laxtiz/.platformio/packages/framework-arduinoespressif32/cores/esp32/WString.h:38:55: error: cannot convert 'const __FlashStringHelper*' to 'const char*' in return
#define F(string_literal) (FPSTR(PSTR(string_literal)))
^
.pio/libdeps/debug/Blinker/src/modules/mqtt/Adafruit_MQTT.cpp:287:23: note: in expansion of macro 'F'
case -2: return F("Failed to subscribe");
^
/home/laxtiz/.platformio/packages/framework-arduinoespressif32/cores/esp32/WString.h:38:55: error: cannot convert 'const __FlashStringHelper*' to 'const char*' in return
#define F(string_literal) (FPSTR(PSTR(string_literal)))
^
.pio/libdeps/debug/Blinker/src/modules/mqtt/Adafruit_MQTT.cpp:288:23: note: in expansion of macro 'F'
default: return F("Unknown error");
^
The text was updated successfully, but these errors were encountered:
基本信息
设备信息
问题描述
起因
F(str)
宏https://github.com/espressif/arduino-esp32/blob/d3254f75a3e646d733d95cd4c096cba5d3d3a195/cores/esp32/WString.h#L34-L38
变动
blinker-library/src/modules/mqtt/Adafruit_MQTT.h
Lines 174 to 182 in c20e2e2
回调
F(str)
宏https://github.com/espressif/arduino-esp32/blob/3670e2bf2aca822f2e1225fdb0e0796e490005a8/cores/esp32/WString.h#L34-L38
现状
看完我的描述,你就明白,blinker-library@0.3.10 只能兼容 arudino-esp32@2.0.8
以这家公司的按需开源习惯,目前只能等他们的程序员哪天想起来上号发PR,普通用户自己回退版本吧
代码
LOG信息
无
编译信息
The text was updated successfully, but these errors were encountered: