5.0.2 r3 / 6.0 BLE problem [SOLVED]

Moderators: Oren.R, Eran.M

kamilbystryk
Posts: 22
Joined: Tue Nov 10, 2015 12:10 pm

5.0.2 r3 / 6.0 BLE problem [SOLVED]

Postby kamilbystryk » Fri Sep 08, 2017 12:14 pm

We have problem with BLE support. When we turn Bluetooth on, we don't see any BLE device on system or our scanning aplication. Additionally, on 5.0.2 system don't have "FEATURE_BLUETOOTH_LE". Probably, Marshmallow don't have this feature in reality, but system settings show true.

How can I add BLE support to SOM DUAL / Android 5.0.2? Board specification show that BLE is supported, so i think it's android OS problem.

varigigi
Posts: 52
Joined: Tue Nov 01, 2016 10:25 am

Re: 5.0.2 r3 / 6.0 BLE problem

Postby varigigi » Mon Sep 11, 2017 7:36 pm

Hi,
which BLE device are you trying to connect?
In general, other customer are using BLE devices without specific problems, at least with Android 6 and 7.
A possible problem with oldest Android 5 versions could be the old firmware version used in the build.
You can try updating the file
/system/etc/ti-connectivity/TIInit_11.8.32.bts
downloading latest version (4.2) from
https://git.ti.com/ti-bt/service-packs/ ... nitscripts

BR
Pier

kamilbystryk
Posts: 22
Joined: Tue Nov 10, 2015 12:10 pm

Re: 5.0.2 r3 / 6.0 BLE problem

Postby kamilbystryk » Tue Sep 12, 2017 8:51 am

1. I try connect with various BLE devices, which have only GATT services. I test with:
- chinese nRF51 sensor (like https://pl.aliexpress.com/item/Bluetoot ... 106d7a821e)
- Beacon i-node (based on some Nordic module) : https://en.inode.pl/iNode-Beacon,p,17
- Our own BLE device, based on Cypress PSoc.

All devices works on GATT profile only.

2. I Update TIInit_11.8.32.bts without changes, additionally I add android.hardware,bluetooth_le.xml in device/variscite/imx6/var_mx6.mk file (Android 5.0.1 r4)

3. Below I attach screens from Nexus5X and VarSom, as You see - devices see each other, but only nexus see BLE devices. Nexus can send file to VarSom, but when I try send file to Nexus VarSom was totally freeze.
Attachments
varsom scan.png
varsom send.png
nexus (Small).png

varigigi
Posts: 52
Joined: Tue Nov 01, 2016 10:25 am

Re: 5.0.2 r3 / 6.0 BLE problem

Postby varigigi » Tue Sep 12, 2017 9:07 am

Thanks for the details.
I can confirm that other customers are currently using Android 6.0.1_2.1.0 with custom BLE devices based on PSOC.

I can also see a big signal strength difference in WiFi icon.
Since WiFi antenna is the same used for BT, any chance the antenna of SoM is not correctly plugged or not gaining enough ?

Thanks
BR
Pier

kamilbystryk
Posts: 22
Joined: Tue Nov 10, 2015 12:10 pm

Re: 5.0.2 r3 / 6.0 BLE problem

Postby kamilbystryk » Tue Sep 12, 2017 10:54 am

Big stupid mistake, I didn't think that Wifi and BLE use the same antenna - now BLE works OK :)
Off course, change declaration to android.hardware,bluetooth_le.xml in device/variscite/imx6/var_mx6.mk is needed.
Thanks for help!


Return to “Android”

Who is online

Users browsing this forum: No registered users and 1 guest