Closed kroon040 closed 9 months ago
The linker finds many symbols twice - once from a previous build and once from the current build.
Please close the Arduino IDE, delete the folder /tmp/arduino/sketches/84A2F82A7D12FB5A4436CFA77D535BD8/
(as shown in your log file) - or everything in /tmp/arduino/sketches/
and try again.
It's now compiling. Wifi is connecting and than connecting to mqtt it reboots.
I change the port form 8883 to 1883 and use_wifi instead of Secure_wifi
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 3424, room 16
tail 0
chksum 0x2e
load 0x3fff20b8, len 40, room 8
tail 0
chksum 0x2b
csum 0x2b
v000521b0
~ld
����g�r��o|�$�l`c��|{�d�o��o�d`��{�l�$��fpm close 1
mode : sta(68:c6:3a:f4:4e:fe)
add if0
...scandone
state: 0 -> 2 (b0)
.state: 2 -> 3 (0)
state: 3 -> 2 (7a0)
.state: 2 -> 0 (4)
reconnect
..scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 17
cnt
connected with kroonen, channel 8
dhcp client start...
ip:192.168.170.82,mask:255.255.255.0,gw:192.168.170.254
.Checking wifi...
MQTT connecting...
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
Soft WDT reset
Could you please provide the exception decoder output? Which version of the library are you using? Which "Core Debug Level" did you set in the Arduino IDE?
The only glitch I am currently aware of is in BresserWeatherSensorMQTTCustom/src/WeatherSensor.cpp
(l. 195):
Please change
log_e("%s startReceive() failed, code %d", state);
to
log_e("%s startReceive() failed, code %d", RECEIVER_CHIP, state);
I doubt this is the cause.
I'm a bit further.
I now stuck on connect to the broker
connected with kroonen, channel 8 dhcp client start... ..ip:192.168.170.39,mask:255.255.255.0,gw:192.168.170.254 .Checking wifi... MQTT connecting... pm open,type:2 0..................
I have changed thte port to 1883 and also
// #define USE_SECUREWIFI // use secure WIFI
#define USE_WIFI // use non-secure WIFI
If you are running your own broker, you can check the log files to see why the connection fails.
E.g. if connections on port 1883 are permitted.
Looking in the broker, and also MQTT explorer, I see the everything is working and getting data. I think the logging on the serial must be increased?
Yes, for the ESP8266 you have to change it in the config header file.
I notriced taht the reception is not so weel, I ordered and TTG Lora esp32 , hopefully that will do better
Context
Describe the bug A clear and concise description of what the bug is.
exit status 1
Compilation error: exit status 1