Closed stundenblume closed 1 year ago
After changing this:
//#define USE_SECUREWIFI // use secure WIFI
#define USE_WIFI // use non-secure WIFI
everything works as expected.
�������������������������
SDK:2.2.2-dev(38a443e)/Core:3.1.1=30101000/lwIP:STABLE-2_1_3_RELEASE/glue:1.2-65-g06164fb/BearSSL:b024386
BresserWeatherSensorMQTT 20221024
Attempting to connect to SSID: xxxxxxxxfpm close 1
mode : sta(84:cc:a8:b1:e7:10)
add if0
...scandone
state: 0 -> 2 (b0)
.state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 5
cnt
connected with xxxxxxxxx, channel 1
dhcp client start...
ip:192.168.123.119,mask:255.255.255.0,gw:192.168.123.1
connected!
Checking wifi...
MQTT connecting... connected!
ESPWeather-B1E710/status: online
[CC1101] Initializing ...
success!
[CC1101] Setup complete - awaiting incoming messages...
After some trouble I got the basic and callback examples running successfully.
But if I try to connect to a unsecured Mosquitto broker it won't connect.
Opened the MQTT example and modified it to:
and
After compiling and uploading, I get this massage:
I tried two simple sketches to verify a connection to the broker is possible. This very simple code also won't connect.
But this code runs as expected.
Maybe this issue is related? I will try to find out why no connection to the broker is established.