arjunm009
Posts: 19
Joined: Wed Nov 09, 2016 7:30 pm

Device discovery without wifi or ethernet

Wed Aug 15, 2018 1:43 pm

In systems like Alexa or Sonos, the mobile app asks for location access and from there it tries to find the device.

After that one is prompted to enter the wifi details and attach the device with the local network.

What is actually going on behind the scenes?

How does the app discover a hardware device without it first being in the network itself?

What I was doing till now was advertising a Wifi AP, which needs to be connected from the app, enter the details and reconnect back to my local network. The Pi then attempts to connect itself with my home wifi.

But how does this whole location access thing work? I would like to know the theory.

User avatar
bensimmo
Posts: 4625
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: Device discovery without wifi or ethernet

Wed Aug 15, 2018 3:33 pm

I have a feeling it is for BT or WiFi control and then uses WiFi direct or similar to talk to each other. It does not use or store you GPS data.

Alexa/Google home (and even Google AIY now*) setup as an AP as can TVs etc for the connection.

Google AIY if using there images has lots of this in folder in the background , so may be worth a scan through the old directories.
I guess this is used to connect to it with their Android App and the AIY at I totally setup.

I could quite easily be wrong, that just my best assumption.
I would love to hear some informed answers.

Return to “Beginners”