I am trying to set up a simple demo for a lightning talk at FOSSAsia
later this week and I was able to get the blinking LED examples set up
quite easily thanks to the OpenHours video. I am however unable to
get the beacon example working.
I am using the master branch from the zephyr project and on reset the
device throws the following on UART:
Starting Beacon Demo
[bt] [ERR] bt_enable: No HCI driver registered
Bluetooth init failed (err -19)
indicating that bluetooth is not enabled. I'll probably spend some
time looking at the code later today/tomorrow (even though I don't
actually know what I'm looking for right now :)) but I figured I put
this out here in case I may have missed out on something elementary.
I tried a couple of branches on the Linaro github repo as well (master
and carbon to be precise) but neither worked. The carbon branch in
fact refused to build, but that's an unrelated problem.
for one of my projects I need my Android device to act as a Bluetooth LE
peripheral device. I noticed this feature has been added in Android 5.0
Unfortunately my Nexus 4 is unlikely to get this feature
But I also have a 96Board Hikey board that has become an official
platform in AOSP.
Is there a plan to support Bluetooth LE peripheral role to Hikey? If
yes, any idea of the ETA?
I would not necessary excited to do it but if there is no plan I would
add the support myself. I am familiar with GATT (Bluez), JNI, Linux
Kernel, Android application. I know the Hikey is capable of BLE
peripheral as I already used Bluez and its DBus interface to make Hikey
appears a BLE peripheral.
I am new to AOSP world. So I am a bit lost in the various components. I
already read these pages:
- https://source.android.com/devices/index.html: Android Interfaces and
- https://source.android.com/devices/bluetooth.html: Bluetooth
Android 6.0 Bluetooth HCI Requirements
I understand the HAL peripheral support is generally divided in module
(defined by hw_module_t) and device (defined by hw_device_t).
I saw HAL interfaces are defined by libhardware and potentially the one
that would interest me is `bt_gatt_server.h`.
But I am a bit unclear by the link between Android Bluetooth HCI and
If I wanted to add GATT Server to Hikey what should I do?
Sorry if you have nothing to do with this issue. I collected emails
around repositories and web resources. I am not sure who is the best
person to answer this question.
Thanks in advance,