Ioctl Esp32Command failed OperationNotPermitted

Hi,

I am trying to use the example provided in Networking to connect to WiFi.

This is the Exception:
[7/25/2021 4:04:00 PM] Meadow StdOut: ioctl Esp32Command failed OperationNotPermitted
[7/25/2021 4:04:00 PM] Meadow StdOut: ESP Ioctl failed: 1
[7/25/2021 4:04:01 PM] Meadow StdOut: Initializing file system…
[7/25/2021 4:04:03 PM] Meadow StdOut: File system initialized.
[7/25/2021 4:04:03 PM] Meadow StdOut: Initialize WiFiAdapter…
[7/25/2021 4:04:03 PM] Meadow StdOut: WiFiAdapter is Initialized…
[7/25/2021 4:04:03 PM] Meadow StdOut: Connecting to Wifi…
[7/25/2021 4:04:03 PM] Meadow StdOut: ioctl Esp32Command failed OperationNotPermitted
ESP Ioctl failed: 1
[7/25/2021 4:04:04 PM] Meadow StdOut: Unhandled Exception: System.Exception: Cannot connect to network, applicaiton halted.

This normally indicates that the ESP32 has not been flashed correctly or is out of date. You can check the system version numbers using the command:

meadow device info

The versions for the OS, Mono and ESP should be 0.5.1.0.

Regards,
Mark

I just saw this when I reflashed to 0.5.1.0.

Also I noticed that the meadowCom.bin file was not downloaded. Plus the device info showed ESP32 has no version. I do not think wifi is supported in the 0.5.1.0 release?

Thx

I fixed the issue. I downloaded the Meadow and it dumped all the file including the MeadowComms.bin in to the default firmware folder location. Then I reinstalled firmware. I can now scan and connect to the wifi.

Thx

Glad to hear that you are up and running.

Regards,
Mark