Search found 8 matches

by ESP_sushant
Mon Jun 28, 2021 7:18 pm
Forum: ESP-IDF
Topic: BLE error detection
Replies: 1
Views: 2414

Re: BLE error detection

CRC check for over the air transmitted packets and re-transmission as required is done BLE Link Layer firmware as per BLE specifications.
by ESP_sushant
Mon Jun 21, 2021 9:19 am
Forum: ESP-IDF
Topic: NimBLE Service discovery failed
Replies: 1
Views: 3505

Re: NimBLE Service discovery failed

Error pint "lld_pdu_get_tx_flush_nb HCI packet count mismatch (1, 2)" is logged at the time abrupt disconnection if all the ACL packets are not flushed correctly. Fix for correctly flushing the ACL packets during abrupt disconnection is under review; will update here once merged. But, the reason for...
by ESP_sushant
Mon Nov 18, 2019 6:26 pm
Forum: ESP-IDF
Topic: A2DP_sink track position detection
Replies: 1
Views: 3167

Re: A2DP_sink track position detection

Hello, In ESP-IDF bluedroid stack code, I do not see any limitation on the "Playback interval" parameter. Also, in AVRCP spec, there is no lower limit mentioned on this parameter. It will be helpful to debug the issue if you provide the following info: 1. What is the remote device (A2DP source) used...
by ESP_sushant
Mon Nov 18, 2019 5:22 pm
Forum: ESP-IDF
Topic: AVRCP Volume Control
Replies: 8
Views: 17987

Re: AVRCP Volume Control

Hello, bluetooth/bluedroid/classic_bt/a2dp_sink example in ESP-IDF, which simulates the volume change and sends notification to the remote device, works fine with most of the mobile handsets. If you haven't already, please take a look at this example and make sure you are following all the steps cor...
by ESP_sushant
Mon Nov 18, 2019 4:39 pm
Forum: ESP-IDF
Topic: Bluetooth Classic pairing on/off
Replies: 4
Views: 9363

Re: Bluetooth Classic pairing on/off

"Passkey entry" pairing option can be used to enforce SSP (Secure Simple Pairing) instead of Legacy pairing.
Please check following API to reply the passkey value:

Code: Select all

esp_err_t esp_bt_gap_ssp_passkey_reply(esp_bd_addr_t bd_addr, bool accept, uint32_t passkey)
Thanks.
by ESP_sushant
Sat Nov 16, 2019 1:45 pm
Forum: ESP-IDF
Topic: Minimum pairing key size [BLE]
Replies: 2
Views: 5030

Re: Minimum pairing key size [BLE]

As per spec Bluetooth, BLE passkey needs to be 6 digits long when using LE passkey entry pairing procedure. You might be getting it confused with 4 digit PIN used in case of Bluetooth Classic pairing procedure. Android devices are behaving correctly by rejecting the 4-digit key. 0's appended at the ...
by ESP_sushant
Sat Nov 16, 2019 1:04 pm
Forum: ESP-IDF
Topic: BT classic within IDF: AVRCP CT - send track/artist metadata without audio
Replies: 3
Views: 5853

Re: BT classic within IDF: AVRCP CT - send track/artist metadata without audio

Please see if following information is useful: Bluetooth specification info: 1. AVRCP profile is used to exchange control information in Bluetooth A/V distribution scenarios. 2. AVRCP CT (controller) device sends commands and registers notifications to get info about events like change in volume, tr...
by ESP_sushant
Mon Aug 26, 2019 6:25 am
Forum: ESP-IDF
Topic: ESP32 NimBLE Controller
Replies: 4
Views: 6256

Re: ESP32 NimBLE Controller

Hi Elivander, ESP32-IDF supports Nimble Host stack only. You can use ble_hs_hci_read_chan_map(...) API from the NIBLE host (please check components/bt/host/nimble/nimble/nimble/host/include/host/ble_hs_hci.h for more info) and it should work with ESP32-IDF BLE controller code. Let us know if you fac...