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



Arduino Forum > Products > Arduino Yún (Moderator: fabioc84) > Configure WIFI client via sketch


arduino

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support