Bluetooth Low Energy support on C2 Android

Moderators: odroid, mdrjr

Bluetooth Low Energy support on C2 Android

Unread postby bonar » Wed Feb 17, 2016 6:25 pm

Hi,

Do you have plans to support Bluetooth Low Energy features (including peripheral mode) on C2 Android?
(or only Bluetooth 2.x features are supported)

Thanks.
bonar
 
Posts: 75
Joined: Mon Aug 03, 2015 3:46 pm
languages_spoken: english, Japanese
ODROIDs: C1

Re: Bluetooth Low Energy support on C2 Android

Unread postby bonar » Mon Mar 07, 2016 6:54 pm

I'm trying BLE advertise with selfinstall-odroidc2-eng-s905_5.1.1_master-198-v1.0.img on C2, but BLE peripheral mode doesn't seem to work for me.

BluetoothAdapter#getBluetoothLeAdvertiser() returns null with this message.

Code: Select all
E/BluetoothAdapter: bluetooth le advertising not supported


I think BLE peripheral mode is very important for many ODROID developers, so I really hope this this feature will be implemented.

Thanks for your support.
bonar
 
Posts: 75
Joined: Mon Aug 03, 2015 3:46 pm
languages_spoken: english, Japanese
ODROIDs: C1

Re: Bluetooth Low Energy support on C2 Android

Unread postby odroid » Mon Mar 07, 2016 7:22 pm

Is there any reference source code to enable the USB Bluetooth BLE for the Android platform or HAL software?
User avatar
odroid
Site Admin
 
Posts: 29067
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Bluetooth Low Energy support on C2 Android

Unread postby bonar » Thu Mar 10, 2016 10:04 am

I'm sorry but I don't have enough experience of AOSP customization...
Anyone in this forum can help?

Bluetooth | Android Open Source Project
https://source.android.com/devices/bluetooth.html

Enable Ble (Bluetooth Low Energy) Peripheral Mode
http://forum.cyanogenmod.org/topic/1077 ... eral-mode/
bonar
 
Posts: 75
Joined: Mon Aug 03, 2015 3:46 pm
languages_spoken: english, Japanese
ODROIDs: C1

Re: Bluetooth Low Energy support on C2 Android

Unread postby odroid » Thu Mar 10, 2016 10:08 am

Did you mean "#define BLE_VND_INCLUDED TRUE" can be enable the BLE advertising mode?
User avatar
odroid
Site Admin
 
Posts: 29067
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Bluetooth Low Energy support on C2 Android

Unread postby bonar » Thu Mar 10, 2016 1:45 pm

I’m not sure, but I think that is worth trying

Code: Select all
#define BLE_VND_INCLUDED TRUE


Code: Select all
It was activated (TRUE) for early Android L builds and worked seemingly well on Nexus 5, but Google later switched it off saying it is hardware dependent (read in the comments on android issue 79296).
bonar
 
Posts: 75
Joined: Mon Aug 03, 2015 3:46 pm
languages_spoken: english, Japanese
ODROIDs: C1

Re: Bluetooth Low Energy support on C2 Android

Unread postby aboensch » Mon Jun 06, 2016 4:12 pm

Is there new Information on BLE support for the C2 on Android?

Or some workaround? I would appreciate any info i can get.

Thanks.
aboensch
 
Posts: 1
Joined: Mon Jun 06, 2016 4:06 pm
languages_spoken: english, german
ODROIDs: odroid-c2

Re: Bluetooth Low Energy support on C2 Android

Unread postby odroid » Tue Jun 14, 2016 6:12 pm

Even we tried #define BLE_VND_INCLUDED TRUE, the BLE function didn't work.
I think the HAL platform code might need the USB HCI layer code. But we couldn't find it by googling. :(
User avatar
odroid
Site Admin
 
Posts: 29067
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Bluetooth Low Energy support on C2 Android

Unread postby chargerent » Tue Oct 09, 2018 5:41 am

Has there been any progress on this?
chargerent
 
Posts: 33
Joined: Sat May 07, 2016 1:13 am
languages_spoken: english
ODROIDs: Odroid C2


Return to Android

Who is online

Users browsing this forum: No registered users and 6 guests