Nodemcu not getting connected to AWS - IOT MQTT
@"Sergey Lyubka" - I am following the sample code from https://github.com/cesanta/mongoose-os/tree/master/fw/examples/c_mqtt.
I am using NodeMCU and have connected it to ATCRYPTOAUTH-XPRO. I have followed https://mongoose-iot.com/blog/mongoose-esp8266-atecc508-aws/ for the wiring instruction for ATCRYPTOAUTH-XPRO
I have connected the device to aws-iot. When is start the console, I cannot see any sub message entry. The device is connecting to MQTT and disconnecting immediately. Here is the console output. Could you please help me in resolving this problem.
mgos_wifi_on_change_cb WiFi: ready, IP xxx.xxx.0.xxx mqtt_global_connect MQTT connecting to xxxxxxxxxxx.iot.eu-west-1.amazonaws.com:8883 mgos_mdns_hal_join_group Joining multicast group 126.96.36.199 mongoose_poll New heap free LWM: 31216 SW ECDSA verify curve 3 hash_len 32 sig_len 72 SW ECDSA verify curve 3 hash_len 32 sig_len 70 ATCA is not available (-20096), using sw ECDH mongoose_poll New heap free LWM: 18344 pm open,type:2 0 ev_handler MQTT Connect (1) ev_handler MQTT Disconnect