I need to send Wi-Fi credentials to my Android Things headless device via a mobile app. As it is right now, the device advertises on Bluetooth, the mobile app connects to device and sends Wi-Fi credentials to it. The device then stops advertising via Bluetooth and connects directly to the users Wi-Fi network using the credentials acquired via Bluetooth.

Is it possible to set up the device to advertise via Wi-Fi instead of Bluetooth? If so how could this be done? I can't find any information or tutorials on the subject probably because android things is still relatively new.

Looking for any advice/libraries/tutorials to send me in the right direction.

  • Are you planning to use an open Wi-Fi or some sort of pre-shared key?
    – Helmar
    May 31, 2018 at 19:40
  • @Helmar open Wi-Fi should be enough? but if there is away, please dont hold back, the more knowledge the better... May 31, 2018 at 21:31
  • Maybe android.stackexchange.com/could help? Jun 1, 2018 at 8:15
  • 2
    Perhaps, this could help: iot.stackexchange.com/a/658/3141 Also have a look at the linked article in the answer.
    – pan
    Jun 4, 2018 at 11:16
  • 1
    What's the motivation to go from Bluetooth to wifi? I'd love to see how you got Bluetooth working to get wifi from an app.
    – Loran
    Nov 16, 2018 at 2:31


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.