-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This builds and uploads but does not work. #3
Comments
From this log, I can’t tell what’s wrong with connectivity. Can you enable #define DEBUG in THiNXLib.h and provide device log?Also pcap from Wireshark could be useful to see if the device attempts to connect THiNX and what happens then in the air. Obviously Atom is deprecated and nobody touched the docs since that time. I hope you mean Wemos D1 R1 or Pro (I don’t have any other except maybe old NodeMCU). M. 9. 5. 2023 v 15:30, mtokeyboard ***@***.***>:
Hi,
I am using Wemos D1 Rs board, i have verified that the board is okay.
I am using platform IO in VS code as obviously atom is archived. you have mentioned "Open this folder using Atom with installed Platform.io", but that is to possible now as I tried installing PlatformIO package in atom and it wont work, it states move to vs code.
Now, in vscode, this is building and upload to my boards giving a lot of yellow warnings that is am sharing below, but it does not work, I have manually added SSID passwordand API and owner key, the board connects to wifi and but doesn't link to thnxcloud.
lib\pubsubclient\src\MQTT.cpp:126:12: warning: enumeration value 'CONNECT' not handled in switch [-Wswitch]
lib\pubsubclient\src\MQTT.cpp:126:12: warning: enumeration value 'CONNACK' not handled in switch [-Wswitch]
lib\pubsubclient\src\MQTT.cpp:126:12: warning: enumeration value 'PUBACK' not handled in switch [-Wswitch]
lib\pubsubclient\src\MQTT.cpp:126:12: warning: enumeration value 'PUBREC' not handled in switch [-Wswitch]
lib\pubsubclient\src\MQTT.cpp:126:12: warning: enumeration value 'PUBCOMP' not handled in switch [-Wswitch]
lib\pubsubclient\src\MQTT.cpp:126:12: warning: enumeration value 'SUBACK' not handled in switch [-Wswitch]
lib\pubsubclient\src\MQTT.cpp:126:12: warning: enumeration value 'UNSUBACK' not handled in switch [-Wswitch]
lib\pubsubclient\src\MQTT.cpp:126:12: warning: enumeration value 'PINGREQ' not handled in switch [-Wswitch]
lib\pubsubclient\src\MQTT.cpp:126:12: warning: enumeration value 'PINGRESP' not handled in switch [-Wswitch]
lib\pubsubclient\src\MQTT.cpp:126:12: warning: enumeration value 'DISCONNECT' not handled in switch [-Wswitch]
lib\pubsubclient\src\MQTT.cpp:126:12: warning: enumeration value 'Reserved' not handled in switch [-Wswitch]
lib\pubsubclient\src\MQTT.cpp: In member function 'MQTT::Message* MQTT::PacketParser::parse()':
lib\pubsubclient\src\MQTT.cpp:322:14: warning: enumeration value 'HaveObject' not handled in switch [-Wswitch]
322 | switch (_state) {
| ^
In file included from lib\pubsubclient\src\PubSubClient.cpp:7:
lib\pubsubclient\src\PubSubClient.h: In constructor 'PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)':
lib\pubsubclient\src\PubSubClient.h:41:9: warning: 'PubSubClient::isSubAckFound' will be initialized after [-Wreorder]
41 | bool isSubAckFound;
| ^~~~~~~~~~~~~
lib\pubsubclient\src\PubSubClient.h:29:14: warning: 'IPAddress PubSubClient::server_ip' [-Wreorder]
29 | IPAddress server_ip;
| ^~~~~~~~~
lib\pubsubclient\src\PubSubClient.cpp:18:1: warning: when initialized here [-Wreorder]
18 | PubSubClient::PubSubClient(Client& c, IPAddress &ip, uint16_t port) :
| ^~~~~~~~~~~~
In file included from lib\pubsubclient\src\PubSubClient.cpp:7:
lib\pubsubclient\src\PubSubClient.h: In constructor 'PubSubClient::PubSubClient(Client&, String, uint16_t)':
lib\pubsubclient\src\PubSubClient.h:41:9: warning: 'PubSubClient::isSubAckFound' will be initialized after [-Wreorder]
41 | bool isSubAckFound;
| ^~~~~~~~~~~~~
lib\pubsubclient\src\PubSubClient.h:31:13: warning: 'uint16_t PubSubClient::server_port' [-Wreorder]
31 | uint16_t server_port;
| ^~~~~~~~~~~
lib\pubsubclient\src\PubSubClient.cpp:28:1: warning: when initialized here [-Wreorder]
28 | PubSubClient::PubSubClient(Client& c, String hostname, uint16_t port) :
| ^~~~~~~~~~~~
In file included from lib\pubsubclient\src\PubSubClient.cpp:7:
lib\pubsubclient\src\PubSubClient.h:31:13: warning: 'PubSubClient::server_port' will be initialized after [-Wreorder]
31 | uint16_t server_port;
| ^~~~~~~~~~~
lib\pubsubclient\src\PubSubClient.h:30:11: warning: 'String PubSubClient::server_hostname' [-Wreorder]
30 | String server_hostname;
| ^~~~~~~~~~~~~~~
Archiving .pio\build\d1_mini\libda8\libESP8266mDNS.a
lib\pubsubclient\src\PubSubClient.cpp:28:1: warning: when initialized here [-Wreorder]
28 | PubSubClient::PubSubClient(Client& c, String hostname, uint16_t port) :
| ^~~~~~~~~~~Compiling .pio\build\d1_mini\lib26a\THiNX\sha256.cpp.o
~
In file included from lib\pubsubclient\src\MQTT.cpp:21:
lib\pubsubclient\src\MQTT.h: In constructor 'MQTT::Publish::Publish(String, const __FlashStringHelper*)':
lib\pubsubclient\src\MQTT.h:272:14: warning: 'MQTT::Publish::_payload_len' will be initialized after [-Wreorder]
272 | uint32_t _payload_len;
| ^~~~~~~~~~~~
lib\pubsubclient\src\MQTT.h:271:14: warning: 'uint8_t* MQTT::Publish::_payload' [-Wreorder]
271 | uint8_t *_payload;
| ^~~~~~~~Archiving .pio\build\d1_mini\libFrameworkArduinoVariant.a
lib\pubsubclient\src\MQTT.cpp:486:3: warning: when initialized here [-Wreorder]
486 | Publish::Publish(String topic, const __FlashStringHelper* payload) :
| ^~~~~~~
In file included from lib\pubsubclient\src\MQTT.cpp:21:
lib\pubsubclient\src\MQTT.h: In constructor 'MQTT::Publish::Publish(String, MQTT::payload_callback_t, uint32_t)':
Compiling .pio\build\d1_mini\FrameworkArduino\Crypto.cpp.o
lib\pubsubclient\src\MQTT.h:272:14: warning: 'MQTT::Publish::_payload_len' will be initialized after [-Wreorder]
Compiling .pio\build\d1_mini\FrameworkArduino\Esp-frag.cpp.o
272 | uint32_t _payload_len;
| ^~~~~~~~~~~~
lib\pubsubclient\src\MQTT.h:271:14: warning: 'uint8_t* MQTT::Publish::_payload' [-Wreorder]
271 | uint8_t *_payload;
| ^~~~Archiving .pio\build\d1_mini\lib6cf\libpubsubclient.a
lib\pubsubclient\src\MQTT.cpp:519:3: warning: when initialized here [-Wreorder]
519 | Publish::Publish(String topic, payload_callback_t pcb, uint32_t length) :
| ^~~~~~~
Compiling .pio\build\d1_mini\FrameworkArduino\Esp-version.cpp.o
lib\pubsubclient\src\PubSubClient.cpp: In member function 'void PubSubClient::_process_message(MQTT::Message*)':
lib\pubsubclient\src\PubSubClient.cpp:104:10: warning: enumeration value 'None' not handled in switch [-Wswitch]
104 | switch (msg->type()) {
| ^
lib\pubsubclient\src\PubSubClient.cpp:104:10: warning: enumeration value 'CONNECT' not handled in switch [-Wswitch]
lib\pubsubclient\src\PubSubClient.cpp:104:10: warning: enumeration value 'CONNACK' not handled in switch [-Wswitch]
lib\pubsubclient\src\PubSubClient.cpp:104:10: warning: enumeration value 'PUBACK' not handled in switch [-Wswitch]
lib\pubsubclient\src\PubSubClient.cpp:104:10: warning: enumeration value 'PUBREC' not handled in switch [-Wswitch]
lib\pubsubclient\src\PubSubClient.cpp:104:10: warning: enumeration value 'PUBREL' not handled in switch [-Wswitch]
lib\pubsubclient\src\PubSubClient.cpp:104:10: warning: enumeration value 'PUBCOMP' not handled in switch [-Wswitch]
lib\pubsubclient\src\PubSubClient.cpp:104:10: warning: enumeration value 'SUBSCRIBE' not handled in switch [-Wswitch]
lib\pubsubclient\src\PubSubClient.cpp:104:10: warning: enumeration value 'SUBACK' not handled in switch [-Wswitch]
lib\pubsubclient\src\PubSubClient.cpp:104:10: warning: enumeration value 'UNSUBSCRIBE' not handled in switch [-Wswitch]
lib\pubsubclient\src\PubSubClient.cpp:104:10: warning: enumeration value 'UNSUBACK' not handled in switch [-Wswitch]
lib\pubsubclient\src\PubSubClient.cpp:104:10: warning: enumeration value 'DISCONNECT' not handled in switch [-Wswitch]
lib\pubsubclient\src\PubSubClient.cpp:104:10: warning: enumeration value 'Reserved' not handled in switch [-Wswitch]
lib\THiNX\src\THiNXLib.cpp: In member function 'void THiNX::connect_wifi()':
lib\THiNX\src\THiNXLib.cpp:335:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
335 | if (logging) Serial.print(F("*TH: WiFi retry")); Serial.println(wifi_retry); Serial.flush();
| ^~
lib\THiNX\src\THiNXLib.cpp:335:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
335 | if (logging) Serial.print(F("*TH: WiFi retry")); Serial.println(wifi_retry); Serial.flush();
| ^~~~~~
lib\THiNX\src\THiNXLib.cpp: In member function 'char* THiNX::generate_checkin_body()':
lib\THiNX\src\THiNXLib.cpp:434:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
434 | char *mcu_type = "unknown";
Compiling .pio\build\d1_mini\FrameworkArduino\Esp.cpp.o
| ^~~~~~~~~
lib\THiNX\src\THiNXLib.cpp: In member function 'void THiNX::fetch_data(WiFiClient*)':
lib\THiNX\src\THiNXLib.cpp:512:17: warning: unused variable 'interval' [-Wunused-variable]
512 | unsigned long interval = 30000;
| ^~~~~~~~
lib\THiNX\src\THiNXLib.cpp:513:17: warning: unused variable 'currentMillis' [-Wunused-variable]
Compiling .pio\build\d1_mini\FrameworkArduino\FS.cpp.o
513 | unsigned long currentMillis = millis(), previousMillis = millis();
Compiling .pio\build\d1_mini\FrameworkArduino\FSnoop.cpp.o
| ^~~~~~~~~~~~~
lib\THiNX\src\THiNXLib.cpp:513:43: warning: unused variable 'previousMillis' [-Wunused-variable]
513 | unsigned long currentMillis = millis(), previousMillis = millis();
| ^~~~~~~~~~~~~~
lib\THiNX\src\THiNXLib.cpp: In member function 'void THiNX::restore_device_info()':
lib\THiNX\src\THiNXLib.cpp:1480:8: warning: 'SPIFFS' is deprecated: SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems. [-Wdeprecated-declarations]
1480 | if (!SPIFFS.exists("/thinx.cfg")) {
| ^~~~~~
In file included from lib\THiNX\src\THiNXLib.h:32,
from lib\THiNX\src\THiNXLib.cpp:10:
C:\Users\tause\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/FS.h:286:15: note: declared here
286 | extern fs::FS SPIFFS __attribute__((deprecated("SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems.")));
| ^~~~~~
lib\THiNX\src\THiNXLib.cpp:1484:12: warning: 'SPIFFS' is deprecated: SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems. [-Wdeprecated-declarations]
1484 | File f = SPIFFS.open("/thinx.cfg", "r");
| ^~~~~~
In file included from lib\THiNX\src\THiNXLib.h:32,
from lib\THiNX\src\THiNXLib.cpp:10:
C:\Users\tause\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/FS.h:286:15: note: declared here
286 | extern fs::FS SPIFFS __attribute__((deprecated("SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems.")));
| ^~~~~~
lib\THiNX\src\THiNXLib.cpp:1508:16: warning: variable 'config' set but not used [-Wunused-but-set-variable]
1508 | JsonObject config = config_doc.as<JsonObject>();
| ^~~~~~
lib\THiNX\src\THiNXLib.cpp: In member function 'void THiNX::save_device_info()':
lib\THiNX\src\THiNXLib.cpp:1581:12: warning: 'SPIFFS' is deprecated: SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems. [-Wdeprecated-declarations]
1581 | File f = SPIFFS.open("/thinx.cfg", "w");
| ^~~~~~
In file included from lib\THiNX\src\THiNXLib.h:32,
from lib\THiNX\src\THiNXLib.cpp:10:
C:\Users\tause\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/FS.h:286:15: note: declared here
286 | extern fs::FS SPIFFS __attribute__((deprecated("SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems.")));
| ^~~~~Compiling .pio\build\d1_mini\FrameworkArduino\FunctionalInterrupt.cpp.o
~
lib\THiNX\src\THiNXLib.cpp: In member function 'void THiNX::deviceInfo()':
lib\THiNX\src\THiNXLib.cpp:1637:12: warning: 'SPIFFS' is deprecated: SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems. [-Wdeprecated-declarations]
1637 | File f = SPIFFS.open("/thinx.cfg", "w");
| ^~~~~~
In file included from lib\THiNX\src\THiNXLib.h:32,
Compiling .pio\build\d1_mini\FrameworkArduino\HardwareSerial.cpp.o
from lib\THiNX\src\THiNXLib.cpp:10:
C:\Users\tause\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/FS.h:286:15: note: declared here
286 | extern fs::FS SPIFFS __attribute__((deprecated("SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems.")));
| ^~~~~~
lib\THiNX\src\THiNXLib.cpp: In member function 'bool THiNX::fsck()':
lib\THiNX\src\THiNXLib.cpp:1796:25: warning: 'SPIFFS' is deprecated: SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems. [-Wdeprecated-declarations]
1796 | fileSystemReady = SPIFFS.begin();
| ^~~~~~
In file included from lib\THiNX\src\THiNXLib.h:32,
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
hello. I have been able to see the ThinxAP accesspoint by doing the following 2 things:
Now I added the owner id and API key, I will update you about connection using pcap from Wireshark. I HAVE QUESTION, |
When you use the WiFi Manager, you’re supposed to access the device as a web page and configure WiFi access (ssid, password). It should be Captive Portal at 192.168.4.1. It will then act as normal device and connect to backend using standard ports (HTTPS 443 only for upstream, MQTTS 8883 bi-directional socket that can be used to communicate with the device through THiNX MQTT broker from any network).No port forwarding needed. 13. 5. 2023 v 14:17, mtokeyboard ***@***.***>:
hello.
I have been able to see the ThinxAP accesspoint by doing the following 2 things:
enabled #define USE_WIFI_MANAGER in thinxlib.h
Adding the WIFI MANAGEr libraryfiles to the folder, you have added the WIFIMANAGER folder but it was empty.
Now I added the owner id and API key, I will update you about connection using pcap from Wireshark.
I HAVE QUESTION,
Do we need to have port forwarding enabled in routerto use THINX console? I do not have a pulicIP so thinx is not for me?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
I understand it now. I have checked that wireshark will not be useful as I am using a mobile network device to connect to my esp8266 board (wemos d1 r2/mini) I HAVEHARD CODED the API key and owner ID and ssidandwifipassword to thinx.h connected with SatNet, channel 7
|
This means the device has connected to WiFi but expects WiFiManager to complete or timeout. Based on settings, that may take 1 minute but it is safer to disable the WiFiManager if you don’t use it. M. 13. 5. 2023 v 23:55, mtokeyboard ***@***.***>:
I understand it now.
I have checked that wireshark will not be useful as I am using a mobile network device to connect to my esp8266 board (wemos d1 r2/mini)
I HAVEHARD CODED the API key and owner ID and ssidandwifipassword to thinx.h
it connects to my mobile network device , but no device is still being registered in thinx cloud.
SERIAL MONITOR SHOWS THIS:
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 2
cnt
connected with SatNet, channel 7
dhcp client start...
ip:192.168.8.101,mask:255.255.255.0,gw:192.168.8.1
pm open,type:2 0
When you use the WiFi Manager, you’re supposed to access the device as a web page and configure WiFi access (ssid, password). It should be Captive Portal at 192.168.4.1. It will then act as normal device and connect to backend using standard ports (HTTPS 443 only for upstream, MQTTS 8883 bi-directional socket that can be used to communicate with the device through THiNX MQTT broker from any network).No port forwarding needed. 13. 5. 2023 v 14:17, mtokeyboard @.>: hello. I have been able to see the ThinxAP accesspoint by doing the following 2 things: enabled #define USE_WIFI_MANAGER in thinxlib.h Adding the WIFI MANAGEr libraryfiles to the folder, you have added the WIFIMANAGER folder but it was empty. Now I added the owner id and API key, I will update you about connection using pcap from Wireshark. I HAVE QUESTION, Do we need to have port forwarding enabled in routerto use THINX console? I do not have a pulicIP so thinx is not for me? —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.>
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Hi. I feel everything is fine on my end now, |
Hi,
I am using Wemos D1 R2 board, i have verified that the board is okay.
I am using platform IO in VS code as obviously atom is archived. you have mentioned "Open this folder using Atom with installed Platform.io", but that is not possible now as I tried installing PlatformIO package in atom and it wont work, it states move to vs code.
Now, in vscode, this is building and uploads to my board giving a lot of yellow warnings that is am sharing below, but it does not work, I have manually added SSID password and API and owner key, the board connects to wifi but doesn't link to thnx cloud.
If I do not add these manually, the assess point from the board does not show up.
lib\pubsubclient\src\MQTT.cpp:126:12: warning: enumeration value 'CONNECT' not handled in switch [-Wswitch]
lib\pubsubclient\src\MQTT.cpp:126:12: warning: enumeration value 'CONNACK' not handled in switch [-Wswitch]
lib\pubsubclient\src\MQTT.cpp:126:12: warning: enumeration value 'PUBACK' not handled in switch [-Wswitch]
lib\pubsubclient\src\MQTT.cpp:126:12: warning: enumeration value 'PUBREC' not handled in switch [-Wswitch]
lib\pubsubclient\src\MQTT.cpp:126:12: warning: enumeration value 'PUBCOMP' not handled in switch [-Wswitch]
lib\pubsubclient\src\MQTT.cpp:126:12: warning: enumeration value 'SUBACK' not handled in switch [-Wswitch]
lib\pubsubclient\src\MQTT.cpp:126:12: warning: enumeration value 'UNSUBACK' not handled in switch [-Wswitch]
lib\pubsubclient\src\MQTT.cpp:126:12: warning: enumeration value 'PINGREQ' not handled in switch [-Wswitch]
lib\pubsubclient\src\MQTT.cpp:126:12: warning: enumeration value 'PINGRESP' not handled in switch [-Wswitch]
lib\pubsubclient\src\MQTT.cpp:126:12: warning: enumeration value 'DISCONNECT' not handled in switch [-Wswitch]
lib\pubsubclient\src\MQTT.cpp:126:12: warning: enumeration value 'Reserved' not handled in switch [-Wswitch]
lib\pubsubclient\src\MQTT.cpp: In member function 'MQTT::Message* MQTT::PacketParser::parse()':
lib\pubsubclient\src\MQTT.cpp:322:14: warning: enumeration value 'HaveObject' not handled in switch [-Wswitch]
322 | switch (_state) {
| ^
In file included from lib\pubsubclient\src\PubSubClient.cpp:7:
lib\pubsubclient\src\PubSubClient.h: In constructor 'PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)':
lib\pubsubclient\src\PubSubClient.h:41:9: warning: 'PubSubClient::isSubAckFound' will be initialized after [-Wreorder]
41 | bool isSubAckFound;
| ^~~~~~~~~~~~~
lib\pubsubclient\src\PubSubClient.h:29:14: warning: 'IPAddress PubSubClient::server_ip' [-Wreorder]
29 | IPAddress server_ip;
| ^~~~~~~~~
lib\pubsubclient\src\PubSubClient.cpp:18:1: warning: when initialized here [-Wreorder]
18 | PubSubClient::PubSubClient(Client& c, IPAddress &ip, uint16_t port) :
| ^~~~~~~~~~~~
In file included from lib\pubsubclient\src\PubSubClient.cpp:7:
lib\pubsubclient\src\PubSubClient.h: In constructor 'PubSubClient::PubSubClient(Client&, String, uint16_t)':
lib\pubsubclient\src\PubSubClient.h:41:9: warning: 'PubSubClient::isSubAckFound' will be initialized after [-Wreorder]
41 | bool isSubAckFound;
| ^~~~~~~~~~~~~
lib\pubsubclient\src\PubSubClient.h:31:13: warning: 'uint16_t PubSubClient::server_port' [-Wreorder]
31 | uint16_t server_port;
| ^~~~~~~~~~~
lib\pubsubclient\src\PubSubClient.cpp:28:1: warning: when initialized here [-Wreorder]
28 | PubSubClient::PubSubClient(Client& c, String hostname, uint16_t port) :
| ^~~~~~~~~~~~
In file included from lib\pubsubclient\src\PubSubClient.cpp:7:
lib\pubsubclient\src\PubSubClient.h:31:13: warning: 'PubSubClient::server_port' will be initialized after [-Wreorder]
31 | uint16_t server_port;
| ^~~~~~~~~~~
lib\pubsubclient\src\PubSubClient.h:30:11: warning: 'String PubSubClient::server_hostname' [-Wreorder]
30 | String server_hostname;
| ^~~~~~~~~~~~~~~
Archiving .pio\build\d1_mini\libda8\libESP8266mDNS.a
lib\pubsubclient\src\PubSubClient.cpp:28:1: warning: when initialized here [-Wreorder]
28 | PubSubClient::PubSubClient(Client& c, String hostname, uint16_t port) :
| ^~~~~~~~~~~Compiling .pio\build\d1_mini\lib26a\THiNX\sha256.cpp.o
~
In file included from lib\pubsubclient\src\MQTT.cpp:21:
lib\pubsubclient\src\MQTT.h: In constructor 'MQTT::Publish::Publish(String, const __FlashStringHelper*)':
lib\pubsubclient\src\MQTT.h:272:14: warning: 'MQTT::Publish::_payload_len' will be initialized after [-Wreorder]
272 | uint32_t _payload_len;
| ^~~~~~~~~~~~
lib\pubsubclient\src\MQTT.h:271:14: warning: 'uint8_t* MQTT::Publish::_payload' [-Wreorder]
271 | uint8_t *_payload;
| ^~~~~~~~Archiving .pio\build\d1_mini\libFrameworkArduinoVariant.a
lib\pubsubclient\src\MQTT.cpp:486:3: warning: when initialized here [-Wreorder]
486 | Publish::Publish(String topic, const __FlashStringHelper* payload) :
| ^~~~~~~
In file included from lib\pubsubclient\src\MQTT.cpp:21:
lib\pubsubclient\src\MQTT.h: In constructor 'MQTT::Publish::Publish(String, MQTT::payload_callback_t, uint32_t)':
Compiling .pio\build\d1_mini\FrameworkArduino\Crypto.cpp.o
lib\pubsubclient\src\MQTT.h:272:14: warning: 'MQTT::Publish::_payload_len' will be initialized after [-Wreorder]
Compiling .pio\build\d1_mini\FrameworkArduino\Esp-frag.cpp.o
272 | uint32_t _payload_len;
| ^~~~~~~~~~~~
lib\pubsubclient\src\MQTT.h:271:14: warning: 'uint8_t* MQTT::Publish::_payload' [-Wreorder]
271 | uint8_t *_payload;
| ^~~~Archiving .pio\build\d1_mini\lib6cf\libpubsubclient.a
The text was updated successfully, but these errors were encountered: