Setup of Wifi Connection Configuration using sketch

Hi All,

I've tried hunting down a solution for this but I don't think I'm able to make much progress so I'm not sure if it is possible or not.

Does anyone know of a way to get the Yun to connect to a WiFi Access Point using a sketch?

For example, I'm looking at the possibility of using a BLE and iOS/Android app to put in the wifi details and for the Yun to connect to that network. I'm trying to keep my IoT project simple for friends that have no idea how to turn a computer on (in this day and age, I know right?)

Is there a Terminal line/script that can be run maybe?

I look forward to hearing your thoughts! :slight_smile:

egadgetjnr:
::::TRIM::::

Does anyone know of a way to get the Yun to connect to a WiFi Access Point using a sketch?

::::TRIM::::

@egadgetjnr,

on half of the Yun is a Linux Operating system. It automatically connects to an AP you set to ahead of time. You can make a script to connect to any "open" AP. But using a sketch seems to defeat the goal. Unless this is some academic exercise.

Jesse

egadgetjnr:
Does anyone know of a way to get the Yun to connect to a WiFi Access Point using a sketch?

Hello

On this website you can find that

also if wifi connection drop it will reconnect auto :slight_smile: