android-ble Questions
4
My app talks to a BLE peripheral. Sometimes the app is started with that peripheral already connected. I can retrieve the device by calling:
BluetoothManager manager = (BluetoothManager) getSystem...
Falsity asked 20/11, 2015 at 22:54
1
I'm currently testing Android companion device pairing and I'm not sure how to benefit from the REQUEST_COMPANION_RUN_IN_BACKGROUND permission.
In one part of Google documentation is says:
After t...
Isomer asked 12/1, 2021 at 12:56
6
Solved
I have an app which scans for BLE devices. It was working perfectly on Android 10, but since I updated my phone to Android 11, the onScanResult just never gets called if I put the application to th...
Superintend asked 2/12, 2021 at 14:57
4
Solved
I have an android app to connect to a BLE device and write to it. I can successfully connect, read and write to it. As a part of testing, we are trying different disconnection scenarios.
Sometimes,...
Bromine asked 12/7, 2017 at 11:34
3
Solved
I want to identify the wheel and crank sensor data from the 11-bytes data. I have tried to parse the 11-bytes hex data which i got in our mobile application as per the split ups in the link below.
...
Teneshatenesmus asked 4/4, 2018 at 6:49
2
Initially I setup a BroadcastReceiver to receive intents from the Nearby Messages API.
class BeaconMessageReceiver : BroadcastReceiver() {
override fun onReceive(context: Context, intent: Intent...
Israelisraeli asked 5/12, 2018 at 16:56
1
Solved
There seems to be a lot of "hidden features" regarding Bluetooth scanning on Android.
For starters there is a "30s limit" (Android 7.0 ble scan no result). Then you have to set a ScanFilter in back...
Lemuroid asked 4/12, 2019 at 16:16
2
Solved
I have a custom BLE peripheral that advertises data like this:
In other words, my BLE peripheral advertises a service UUID associated with a unique identifier in advertised service data, but it ...
Effulgent asked 6/11, 2019 at 13:50
3
I have Android application which exposes BLE Server. I connect with BluetoothGattServer#connect. It works - my app gets call to BluetoothGattServerCallback#onConnectionStateChange with STATE_CONNEC...
Hamper asked 4/8, 2016 at 8:53
2
Solved
My app required to connect 9 Ble devices concurrently.
In this article and any other resource it write that android 4.4+ can connect only to 7 devices.
Is there anything new in M or N versions?
Tha...
Lucilius asked 28/12, 2016 at 15:25
0
I am using device name filter to connect to a specific BLE device. But my scan call back is not executing. It works fine when I use MAC address as filter. Is this a known issue or bug? I am testing...
Beersheba asked 1/5, 2017 at 13:47
3
Are there any open source implementations of BLE stack other than BlueZ and Bluedroid?
Dongola asked 27/2, 2017 at 1:32
2
Solved
How to react to directed advertising (ADV_DIRECT_IND == 0001) in Android?
There is a BLE-gadget which sends directed advertising to an Android phone (using hardcoded MAC address of the phone for n...
Kestrel asked 7/8, 2015 at 14:34
2
Solved
I am developing an app in which I can both find and configure BLE devices. I am using standard Android BLE API, but recently I've encountered some strange problems.
When I turn on my app the BLE ...
Gainsay asked 22/9, 2016 at 18:21
1
In an Android app in central role - how do you please get a hold of the latitude and longitude stored in the org.bluetooth.characteristic.location_and_speed characteristic in the org.bluetooth.serv...
Spindell asked 12/8, 2015 at 13:57
1
Solved
I am trying to play with BLE transmission on my device.
Here is the code I use and the output:
// check BLE support
Log.i(TAG, "BLE supported: " + getPackageManager().hasSystemFeature(PackageMan...
Intoxicating asked 19/8, 2015 at 10:27
1
Solved
I'm trying to read the initial state of a BLE device when I connect to it. Here's the code I have to try to do that:
@Override
public void onServicesDiscovered(BluetoothGatt gatt, int status)
{
i...
Medora asked 22/5, 2015 at 13:55
1
© 2022 - 2024 — McMap. All rights reserved.