MQTT client in FreeRTOS never gets a CON ACK on ESP8266

Hello

I have taken this example as is located https://github.com/cesanta/mongoose/tree/master/examples/mqtt_client

First I started a thread that connects in station mode to my router and let me know I have an IP address
Once I have an IP
Then I make a function call to the example code I am printing all events I get in my registered callback and I never see a connection ack after sending the mqtt connect. below is my output any help appreciated I know this example worked in using MIOT this attempt is with ESP RTOS SDK 1.5. Any help greatly appreciated

SDK version:1.5.0-dev(950076a)
mode : sta(18:fe:34:cd:9a:ba)
add if0
WiFi: Connecting to WiFi
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 2
pm open phy_2,type:2 0 0
cnt

connected with CGIERP, channel 1
dhcp client start...
ip:10.192.23.114,mask:255.255.255.0,gw:10.192.23.1
WiFi: Connected
mg_mgr_init
USER HANDLER GOT 2
USER HANDLER GOT 4

Comments

Sign In or Register to comment.