question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enforce LE transport mode for dual-mode (LE/EDR) peripherals

See original GitHub issue

Summary

Double mode devices (LE/EDR) can be connected in both modes in which situation Android tends to use the EDR mode. There is at least one known behaviour related—in EDR mode specific services may not be discovered correctly. As RxAndroidBle is library aiming on BLE devices the BLE mode should be forces where possible.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
dariuszseweryncommented, Sep 27, 2018

We are using TRANSPORT_LE whenever possible and it was a deliberate decision. Earlier versions of Android did pose difficulties when TRANSPORT_BREDR or TRANSPORT_AUTO was selected. In fact this is a BLE library hence the TRANSPORT_LE

From my experience the GATT_INSUF_AUTHORIZATION should not disconnect the peripheral but only reject a characteristic write/read. I have seen disconnections (even Today in fact) with status 8 which were not connected with bonding as the peripheral did not support bonding at all (from my knowledge). So I think that this may be a misattribution.

0reactions
Drjackycommented, Nov 30, 2020

I have seen disconnections (even Today in fact) with status 8 which were not connected with bonding as the peripheral did not support bonding at all (from my knowledge).

The peripheral which I tested does actually support bonding. We didn’t encounter this GATT_INSUF_AUTHORIZATION on other phones such as some Samsung phones & Google Pixel 2 XL. So that makes me thinking that this is a problem of the bluetooth stack included in the Android OS of the Moto G phone.

Same issue here. Only on Samsung Galaxy Note9 - Android 10.

@thuytrinh Have you found any solution for this issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dualmode debate page - automated urban transportation ...
A true dualmode electric car must be provided that operates both on streets and on the automated guideway and recharges it batteries during...
Read more >
transport system employing: Topics by Science.gov
Basic attributes of the Space Transportation System are reviewed, all operational modes are considered, and the total cost picture of the system is...
Read more >
Social, Economic, Behavioral, and Urban Growth Considerations in ...
or personal transportation modes such as walking and automobile travel. Trip logs, budgets, and other information were collected during weekly.
Read more >
Search results - The Case Centre
Teaching delivery mode. Select to filter, Hybrid/Dual-mode (1), In-person (3), Online (1). Prize winner. Yes (50). Applying filter... Sort by:.
Read more >
Instructions for Transporters - Tesla
Transport Mode is only intended to allow for winching Model 3 onto a flatbed truck or repositioning the vehicle out of a parking...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found