I am using ESP32 with IDF v3.2
I followed through ESP IDF Guide to create a minimal binary and flashed successfully. The ESP32 starts up in AP mode due to first two 0 parameters in mDashStartWithWifi
// Initialize NVS
esp_err_t ret = nvs_flash_init();
if (ret == ESP_ERR_NVS_NO_FREE_PAGES || ret == ESP_ERR_NVS_NEW_VERSION_FOUND)
ret = nvs_flash_init();
ESP_ERROR_CHECK( ret );
mDashStartWithWifi(0, 0, DEVICE_ID, DEVICE_PASS);
Then, I followed the instructions to create a PWA app and load into the mobile phone browser. Then I have switched the mobile to the ESP32 WiFi (AP), and tried to scan for new device.
Then in app.js I changed those links to 192.168.4.1- which is the IP of the ESP32 (the IP of the mobile phone is 192.168.4.2). Then the scanning stops with a message that the access key cannot be stored.
At the console I see a log message ssl conn_handshake error with error 0xffff8880. I assume this is the reason while the PWA cannot fetch the access key for device and thus prevents the PWA app to discover the device.
Is anybody seeing similar issues?