Configure WIFI client via sketch
i've tried using bridge console hand (just poc) , cannot seem figure out.
here try:
/sbin/uci set wireless.@wifi-iface[0].mode=sta
/sbin/uci set wireless.@wifi-iface[0].ssid=<ssidname>
/sbin/uci set wireless.@wifi-iface[0].encryption=psk2
/sbin/uci set wireless.@wifi-iface[0].key=<password>
/sbin/uci commit wireless
/sbin/wifi
but error message:
"command failed: device or resource busy (-16)"
when run wifi command.
any thoughts? have script this? seemed wifi shield has libraries this.
configuring manually though wifi http config utility works fine.
thank you,
kyle
here try:
/sbin/uci set wireless.@wifi-iface[0].mode=sta
/sbin/uci set wireless.@wifi-iface[0].ssid=<ssidname>
/sbin/uci set wireless.@wifi-iface[0].encryption=psk2
/sbin/uci set wireless.@wifi-iface[0].key=<password>
/sbin/uci commit wireless
/sbin/wifi
but error message:
"command failed: device or resource busy (-16)"
when run wifi command.
any thoughts? have script this? seemed wifi shield has libraries this.
configuring manually though wifi http config utility works fine.
thank you,
kyle
Arduino Forum > Products > Arduino Yún (Moderator: fabioc84) > Configure WIFI client via sketch
arduino
Comments
Post a Comment