I have flashed my Raspberry Pi 3 with the Android Things image, I have not been able to connect it to my wifi network. I have run adb devices but I get no response.
-
3I'm voting to close this question as off-topic because it is not about programming. Try raspberrypi.stackexchange.comslim– slim2016-12-14 15:01:05 +00:00Commented Dec 14, 2016 at 15:01
-
Have you checked here? Connecting WifiClint– Clint2016-12-14 15:06:49 +00:00Commented Dec 14, 2016 at 15:06
-
stackoverflow.com/a/41126958/1207921 may helpKarakuri– Karakuri2016-12-14 16:39:37 +00:00Commented Dec 14, 2016 at 16:39
-
Possible duplicate of Android Things Not ConnectedOnik– Onik2017-05-27 13:45:26 +00:00Commented May 27, 2017 at 13:45
-
It's not fair to say this instead of helping outJack Siro– Jack Siro2019-03-24 19:01:15 +00:00Commented Mar 24, 2019 at 19:01
3 Answers
Take a look at this question: connect to Raspberry Pi 3 using adb
The Raspberry Pi isn't a USB device, the USB connection is just for power, so it won't show up in adb devices. You have to connect it to a network first then use adb connect.
1 Comment
In short, you have to connect it to network using Ethernet and then follow the instructions using adb command to connect it to Wifi. Yeah, I know it is dumb but it is just the way it works at the moment.
And adb devices won't show anything until it is connected with TCP. RPi3 won't work as a USB slave device.
Check the details here and other stuffs.
http://pierrchen.blogspot.com.au/2017/01/a-hands-on-of-android-things-on-rpi3.html
Comments
If you are trying to connect to wifi, you can connect your pi with a laptop through USB to TTL module, after that you can use putty to run the following
am startservice \
-n com.google.wifisetup/.WifiSetupService \
-a WifiSetupService.Connect \
-e ssid YOURWIFINAME \
-e passphrase YOURWIFIPASSWORD
if you do it successfully you should be able to see your pi's ip address after running:
ifconfig wlan0
like this:
inet addr: 192.168.1.104 Bcast: 192.168.1.255 Mask 255.255.255.0