I'm using the RFDuinoTest app to test the module, but it is not getting detected by any of the android devices.
Two of the devices I've tried this on are:
-Samsung Galaxy Grand 2
-Nexus 7 Tablet
I've also tested the module with iphone 5 and it works fine. There aren't any issues in programming it either, and I've tried both with Windows and Mac.
Is there a chance that this is because of some problem with the android devices and not with the module? Or should I just assume that the module is damaged?
To simply test the ability to connect and interact with the rfduino from your mobile device, use a BLE smart device scanner. Try BLE Scanner for Android.
I found myself in the same predicament when attempting to use the RFdunioTest app for Arduino. I do not know why that app does not pick up surrounding rfduinos.
Related
One of the recent Android Studio updates introduced ability to connect physical android devices (with android 11+) using wi-fi (https://developer.android.com/studio/run/device?utm_source=android-studio-2021-1-1#wireless)
The thing is I have several testing devices which appear in the list of devices with their code names as titles, such as samsung SM-G973F instead of samsung galaxy s10. It's quite confusing how to distinguish them between each other without remembering all these code names while testing the app when several these devices are connected on the same time.
Is there any way to rename physical devices connected using wi-fi in Android Studio?
I'm working on a BLE application for both ios and Android devices.
The application is written utilizing ionic and cordova.
On my Samsung Galaxy S6, Android version 6.0.1, my application will not populate the scan list even though I know I have devices advertising. Other generic applications like BlueScan and Bluetooth LE Scanner run on this phone do populate the scan list as I believe they should.
I also have access to two other Android devices--Motorola MotoG and Samsung Galaxy Tab 4. Both of these two devices will populate the scan list as desired running my application.
ios phones also populate the scan list appropriately.
Has anyone else run into such a problem with a Samsung Galaxy S6? If so, were you able to determine if there was a modification required to the app's source code or some setting needing adjusting on the phone itself?
An updated version to the BLE plugin we were using proved to have a fix for this issue.
we are developing an Android app which can connect to multiple heart rate sensors simultaneoulsy via Bluetooth Low Energy.
We have an implementation which is working quite well, so the code is not the problem.
What drives us crazy is the limitation of parallel BLE-connections which seems to be different from device to device.
We have a few test devices here: Motorola MotoE and MotoG, a Samsung Galaxy Tab A and an HTC Nexus 9. All of them are running Android 5 or 6, original vendor versions. None of them is able to connect to more than 7 BLE HR sensors simultaneously.
Then I have tested with my private Samsung Galaxy S4, which is rooted and has Cyanogen CM12 installed. With this device I can easily connect to 12 HR sensors simultaneously which is the number we want to achieve with our app.
I have tested this both with our own app implementation and with the Nordic Semiconductor nRF Master Control Panel which I think is a pretty good generic BLE app: https://play.google.com/store/apps/details?id=no.nordicsemi.android.mcp&hl=de
When I try to connect the app to a 7th BLE sensor on any of our devices, the ADB output prints the following error message:
E/BluetoothLeBasicConn: Connection state changing error: 133
I did some pretty intensive googling about that whole problem, but most of the results I've found were quite old. Some people said, that the limitation came from the Bluetooth Chipset itself, others said it was a software limitation through Android.
Could you help me to find out, where the limitation is coming from?
If it is the chipset, then I would like to know, which devices we should use for supporting as many parallel connections as possible. Sadly it is very hard to find out which Bluetooth chipset is built in the different devices. Hardly any of the hardware specs I found tell anything about this.
If the limitation comes from software side, can we change it somehow without rooting phones or install modded OS?
Thank you very much!
In case that you are still interested in it. The limit comes from
BTA_GATTC_CONN_MAX (hardcoded in android)
Which is set to:
4 on Android 4.3 and
7 on Android 4.4
There is by the way also a limit on the amount of characteristics for which you can activate notifications. (BTA_GATTC_NOTIF_REG_MAX)
which is:
4 on Android 4.3,
7 on Android 4.4 and
15 on Android 5.0
I am writing a Android app which allow connecting two BLEs at the same time, then I can send signal to write and read to two BLEs at the same time also. (after some testing) It's working fine for ASUS Memo Pad 7 (4.4.2) and Samsung S4, but not for Moto G (4.4.4) and Nexus 7 which disconnected one and wrote to the other when I tried to write to both at the same time. I don't want to set delay between both devices because I want to signal to both as long as user keep pressing button. That was only four device I tested right now. Did anyone know why it's not working for those devices? is it hardware issue? how do I know which Android devices support to read and write multiple BLE at the same time?
You have to test each device to get this information, no other way.
Ideally on moto G and Nexus 7 it should have worked also. But there are lots of changes in BLE frameworks on Android 5.1 from Google. I think device supporting 5.1 should allow multiple device read/write operations.
I tried running Bluetooth low energy sample code from android on two different android phone that has Android Lollipop installed and it supports BLE 4.0 too. but when i run the app and try to scan it , i am not able to get the name of other device in a list.
i am running this sample on Micromax android one.i am pretty new to BLE , so i am not sure i can see other BLE supported mobile phones in a list not just the peripherals.
i am running bluetoothlegatt sample from android only.