Error connecting to WiFi using connman on a IMX8mp board
I have an IMX8MP board running a Yocto Poky build image. It’s running a small HTTP server in order for a user to input an SSID_NAME
and a PASSPHRASE
. Once the server receives those, I want to connect to the Wi-Fi that the user inputs. I tried creating the file in /var/lib/connman/wifi_XXXXX_YYYYY_managed_psk/settings
. The content of the file is: