Search found 36 matches

by irahul
Wed Feb 28, 2024 2:38 pm
Forum: ESP-IDF
Topic: Please help learn the NimBLE stack
Replies: 9
Views: 15078

Re: Please help learn the NimBLE stack

Yes .. the example was recently updated to support both stacks .
by irahul
Mon Feb 26, 2024 4:26 am
Forum: ESP-IDF
Topic: Please help learn the NimBLE stack
Replies: 9
Views: 15078

Re: Please help learn the NimBLE stack

Hi devlat, there is example for hid under examples/bluetooth/esp_hid_device and examples/bluetooth/esp_host. This is targetted for both bluedroid and nimble. Does this not help your cause ?
by irahul
Thu Jan 18, 2024 5:07 am
Forum: ESP-IDF
Topic: Controlling Nimble BLE Advertising Scan Channels on S3
Replies: 15
Views: 105968

Re: Controlling Nimble BLE Advertising Scan Channels on S3

Hi @jonsmirl,

May i request you to please share the sniffer log ? Also, kindly confirm that there no filtering being done in the application side, when ADV reports are received ( e.g. dropping / ignoring adv report if certain field is not present in the received report )
by irahul
Tue Jan 16, 2024 10:05 am
Forum: ESP-IDF
Topic: Controlling Nimble BLE Advertising Scan Channels on S3
Replies: 15
Views: 105968

Re: Controlling Nimble BLE Advertising Scan Channels on S3

Hi @jonsmirl It's not only scan windows to take into consideration for scanning in BLE. They operate with a scan interval and a scan window, where it will scan for the duration of the scan window every scan interval. However, BLE isn't a surefire protocol where you can expected a scanner to receive ...
by irahul
Fri Jan 12, 2024 6:13 am
Forum: ESP-IDF
Topic: Controlling Nimble BLE Advertising Scan Channels on S3
Replies: 15
Views: 105968

Re: Controlling Nimble BLE Advertising Scan Channels on S3

Hello @jonsmirl, Setting scan interval and window as 0 would result in default value. Can you modify them to 100 ms ( so set value as 160 decimal ). Also, is this operation being done in open air ? which can result in packet loss ? Can you shutdown matter activity on wifi also for testing purpose. W...
by irahul
Thu Jan 11, 2024 4:09 am
Forum: ESP-IDF
Topic: Controlling Nimble BLE Advertising Scan Channels on S3
Replies: 15
Views: 105968

Re: Controlling Nimble BLE Advertising Scan Channels on S3

Hello @jonsmirl, Please try below in your application. typedef enum { SCAN_ALL_CHANNLE, ONLY_SCAN_CHANNEL_37, ONLY_SCAN_CHANNEL_38, ONLY_SCAN_CHANNEL_39, SCAN_MODE_TYPE_ERROR, } scan_mode_config_t; extern uint8_t esp_ble_scan_channel_setting(scan_mode_config_t scan_mode); So your application can be ...
by irahul
Mon Jan 08, 2024 3:52 am
Forum: ESP-IDF
Topic: Controlling Nimble BLE Advertising Scan Channels on S3
Replies: 15
Views: 105968

Re: Controlling Nimble BLE Advertising Scan Channels on S3

> How do I control the advertising scan channels for numble ble_gap_disc() on the S3? ble_gap_disc is used to discover / scan for devices in the vicinity. Per spec, during scanning there is no way host can set the channel, hence no such API exists in NimBLE / Bluedroid stack However, if you refer to...
by irahul
Fri Dec 15, 2023 6:58 am
Forum: ESP-IDF
Topic: Please help learn the NimBLE stack
Replies: 9
Views: 15078

Re: Please help learn the NimBLE stack

Since ESP-IDF clones the upstream Apache mynewt-nimble codebase, all documentation provided by mynewt-nimble is applicable. The examples in the IDF ( under examples/bluetooth/nimble/..) path have their READMEs and tutorials for walkthrough. Is there anything else you looking for which is not covered...
by irahul
Wed Nov 29, 2023 2:42 pm
Forum: ESP-IDF
Topic: NimBLE: Failed to restore IRKs from store
Replies: 3
Views: 3279

Re: NimBLE: Failed to restore IRKs from store

Hi Dani,

Recently a fix was made , can you please confirm if this helps. https://github.com/espressif/esp-nimble ... 1284ae21ed
by irahul
Mon Oct 30, 2023 8:32 am
Forum: ESP-IDF
Topic: NimBLE: Failed to restore IRKs from store
Replies: 3
Views: 3279

Re: NimBLE: Failed to restore IRKs from store

Looks like somehow store_read_cb is not getting populated. Is there any change done at your end for the storage functions ? If not, then which IDF example are you using which shows this behaviour ?