Android Things and Bluetooth

As far as I read about development boards, every SoC is capable of using Bluetooth.

I have not tested it yet, but can I use Android Things with a Bluetooth connection? My question is: how to enable Bluetooth without an input device? If I want to enable Bluetooth on my phone (with code), I had to confirm it, but this is not possible for Android Things.

+4
source share
2 answers

Update: Since the release of the preview of Android Things 3, Bluetooth and BLE are now available.

Old answer

No. You cannot use Bluetooth with the current version of AndroidThings (developer preview 1).

, Bluetooth ( USB).

, - , , BluetoothAdapter, null.

+8

Android Things Bluetooth Bluetooth Low Energy, , Bluetooth !

Android Things Bluetooth-?

, Bluetooth Low Energy

https://www.link-labs.com/bluetooth-vs-bluetooth-low-energy/

, Bluetooth Bluetooth Low Energy (BLE) . Bluetooth , . BLE , , . , .

, BLE, :

https://developer.android.com/guide/topics/connectivity/bluetooth-le.html

Bluetooth ?

BLE, , Bluetooth ( Bonding). :

Android Bluetooth Low Energy Pairing fooobar.com/questions/175906/...

@shalafi Android Things Bluetooth

+1

Source: https://habr.com/ru/post/1664523/


All Articles