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.

BLE Transmitter stopped advertising

See original GitHub issue

Home Assistant Android version: beta-1594-e881a8a-full Android version: 12 Phone model: Pixel 3XL Home Assistant version: 2021.10.6 Last working Home Assistant release (if known): 202110.6 Description of problem: BLE Transmitter has stopped advertising. This stopped with 2021.10.0 version of Android. My wife’s phone stopped as well. I looked through the logs and found this

10-29 23:23:03.281 16400 16400 D BluetoothAdapter: isLeEnabled(): ON

10-29 23:23:03.288 16400 16400 E BeaconTransmitter: Advertisement start failed, code: 3

10-29 23:23:04.368 16400 16588 D

Traceback (if applicable, to get the logs you may refer to: https://companion.home-assistant.io/docs/troubleshooting/faqs/#android-crash-logs):


Screenshot of problem:

Additional information:

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:35 (14 by maintainers)

github_iconTop GitHub Comments

2reactions
schildgenbcommented, Nov 5, 2021

I can also confirm this is working as well with that apk. Thanks for you work as well!

On Fri, Nov 5, 2021, 1:06 PM mloebl @.***> wrote:

Perfect, thank you for all your hard work on this!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/home-assistant/android/issues/1855#issuecomment-962106909, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHS5CBTQ5BQKTFVQYFX644DUKQTJXANCNFSM5HAUBALQ .

2reactions
schildgenbcommented, Nov 2, 2021

I looked at the logs and found this

BeaconTransmitter: Cannot start advertising due to exception

11-02 17:52:49.884 21097 21132 E BeaconTransmitter: java.lang.SecurityException: Need android.permission.BLUETOOTH_ADVERTISE permission for @.***: GattService startAdvertisingSet

11-02 17:52:49.884 21097 21132 E BeaconTransmitter: at android.os.Parcel.createExceptionOrNull(Parcel.java:2425)

On Tue, Nov 2, 2021, 5:45 PM Brad Schildgen @.***> wrote:

Same here I installed the apk and still nothing showing up. I scanned again and it was not picking anything up even when changing settings.

On Tue, Nov 2, 2021, 3:58 PM mloebl @.***> wrote:

Thank you for the quick turn around @dshokouhi https://github.com/dshokouhi ! I installed the new version (it’s icon is red, so easy to tell), disabled BeaconScope (which has been solid for the last 24 hours.) BeaconScope is set to -59 in , and 10hz reporting. I set the same UUID and -59 power with this build, but not seeing anything in Esprense still.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/home-assistant/android/issues/1855#issuecomment-958160881, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHS5CBUN2B6JVUEHIVIPUK3UKBNHDANCNFSM5HAUBALQ .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android BLE advertiser transmits beacons even if stop ...
stopAdvertising() method. The problem occurs when my screen goes off and my app is still advertising. The app advertises when my screen is...
Read more >
BLE Beacon - issues with Pixel 3 - Home Assistant Community
It doesn't advertise at all on my Pixel 3. ... It's now scanning but it's still not picking up the BLE Transmitter in...
Read more >
Bluetooth Low Energy -It Starts with Advertising
Bluetooth Low Energy – It Starts with Advertising · Similar to ADV_IND, yet the connection request is directed at a specific central device....
Read more >
Make the most of Bluetooth LE advertising mode - EE Times
Generally speaking, a BLE advertising device can be implemented using just a 2.4GHz GFSK transmitter which supports the required specification for the BLE...
Read more >
What's Involved in Bluetooth Advertising? - MOKOBlue
Without advertising, connection can not be created between two devices. · A lot of BLE products remain standby in most of the time,...
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