-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TW#25603] Bluetooth visibility in dual mode #2306
Comments
@crespum, thank you. It's real a problem. It's due to that when call esp_bt_gap_set_scan_mode(ESP_BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE), it will also set hci cmd to disable advertising. We will fix it soon. |
igrr
pushed a commit
that referenced
this issue
Sep 6, 2018
As the bluedroid original implmentation of BR/EDR and BLE dual mode about discovery mode, when set discovery mode for BR/EDR, it will stop ble advertising. Reference to #2306
igrr
pushed a commit
that referenced
this issue
Sep 6, 2018
As the bluedroid original implmentation of BR/EDR and BLE dual mode about discovery mode, when set discovery mode for BR/EDR, it will stop ble advertising. Reference to #2306
igrr
pushed a commit
that referenced
this issue
Sep 16, 2018
As the bluedroid original implmentation of BR/EDR and BLE dual mode about discovery mode, when set discovery mode for BR/EDR, it will stop ble advertising. Reference to #2306
@crespum Have you verified the fix patch? Does the patch resolve your issue? Thanks. |
No, I'm still experiencing the issue on v3.1. |
catalinio
pushed a commit
to catalinio/pycom-esp-idf
that referenced
this issue
Jun 28, 2019
As the bluedroid original implmentation of BR/EDR and BLE dual mode about discovery mode, when set discovery mode for BR/EDR, it will stop ble advertising. Reference to espressif/esp-idf#2306
catalinio
pushed a commit
to catalinio/pycom-esp-idf
that referenced
this issue
Jun 28, 2019
As the bluedroid original implmentation of BR/EDR and BLE dual mode about discovery mode, when set discovery mode for BR/EDR, it will stop ble advertising. Reference to espressif/esp-idf#2306
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Problem Description
My application uses Bluetooth dual mode, to be precise it uses A2DP and a BLE beacon, but I'm experiencing some issues with the visibility of the different modes:
I want the beacon to be always visible but not the A2DP profile. The latter should only be visible for an small amount of time. The A2DP profile should remain connectable for the devices which have already been bond.
To achieve this I've tried the function
esp_bt_gap_set_scan_mode
, which according to the docs should "set discoverability and connectability mode for legacy bluetooth". However, after callingesp_bt_gap_set_scan_mode(ESP_BT_SCAN_MODE_CONNECTABLE)
, the BLE advertisement completely disappears.Why does
esp_bt_gap_set_scan_mode
affect the BLE stack?Code to reproduce this issue
To test the issue you can apply the following patch to a2dp_gatts_coex example. The advertisement should be visible the first 30 seconds and disappear right after the logs print
Beacon disappears now
.The text was updated successfully, but these errors were encountered: