Hello,
- Board used as the BLE peripheral.
- we are using a ESP32
- Version or commit iD of FreeRTOS android BLE SDK you are running.
- aws-iot-device-sdk-v2 v1.2.1 which looks like the latest
- Version of FreeRTOS running.
- amazon freertos release (July 2020) - ESP-IDF release/v3.3.2
So with the disconnect and connect issue should I just set autoReconnect to false? I think that will cause me issues then if during the scan for wifi networks it disconnects I will have to force them to reconnect. I am disconnecting using the app when I am done with connecting to wifi. I guess what is your suggestion for the correct way to connect and disconnect, I will make those changes and test to see if the issue stops. What action should I be taking in the disconnect because when I did that it was called over and over again so I did not have enough trust to use it.
For Issue 2, I am seeing the scan for wifi taking about 20+ seconds on both my app as well as the AWS test app in android. I guess if this is just what it takes we will have to live with it but just wanted to see if from any of my code I was maybe doing something incorrect.
When I set this all up I had to basically just look at the code in the SDK as the documentation is pretty much no help, it just says here are 4 methods but no explanation of how to interact with it or what the best practices are for use. If there is something I am missing or a better way to get the list of SSID’s I am all for changing it.
Let me know if any of this helps and if you have any suggestions or tips to make this work better. For now I will set the auto reconnect on line 241 to be false.
John