--- android/README | 32 +++++++------------------------- 1 file changed, 7 insertions(+), 25 deletions(-) diff --git a/android/README b/android/README index 717ffa2..24ed703 100644 --- a/android/README +++ b/android/README @@ -36,31 +36,13 @@ Runtime requirements ==================== BlueZ HAL library requires 'bluetoothd' and 'bluetoothd-snoop' services to be -available on Android system. This can be done by defining following services in -init.rc file of targeted board: - -service bluetoothd /system/bin/logwrapper /system/bin/bluetoothd - class main - group bluetooth net_admin - disabled - oneshot - -service bluetoothd-snoop /system/bin/bluetoothd-snoop - class main - group bluetooth net_admin - disabled - oneshot - -It is required that bluetooth user could start and stop bluetoothd and -bluetoothd-snoop services by setting 'ctl.start' or 'ctl.stop' property. This -can be achieved by whitelisting bluetooth user and bluetoothd and -bluetoothd-snoop services in init source code. - -Required Android init system modifications can be found at -https://code.google.com/p/aosp-bluez.platform-system-core/ - -Some configuration changes like setting permissions, starting hciattach -services etc. are device specific. For convenience examples are provided at: +available on Android system. Some permissions settings are also required. + +This can be done by importing init.bluetooth.rc file in init.rc file of targeted +board: +import init.bluetooth.rc + +For convenience examples are provided at: https://code.google.com/p/aosp-bluez.device-lge-mako/ (Nexus 4) https://code.google.com/p/aosp-bluez.device-asus-flo/ (Nexus 7 2013) -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html