Closed AbdeenM closed 4 years ago
Hello,
The pNetworkInterface
should be set to the IOT_NETWORK_INTERFACE_AFR
so that change should be good. What error are you getting while connecting to the AWS IoT ? Can you please share console logs?
Thank you for the assist, i wasn't sure what pNetworkInterface was suppose to be. Closing the issue now
Device: ESP32-DevC
I am trying to connect to the AWS IOT server independent of the config header files and MQTT demo but i can not seem to be able to get it working, to start i copied the same code as the demo and configured my app to run from that file after i established a wifi connection. After connecting to the wifi i call the function that is just the RunMqttDemo renamed, below is my modified _establishMqttConnection function code, i believe i have everything setup correctly aside from the pNetworkInterface which am not sure is correct.
Your help is highly appreciated!!