Search found 20 matches

by danergo
Wed Dec 17, 2025 7:54 am
Forum: ESP-IDF
Topic: HCI H4: Simultaneous BLE Scanning/Advertising
Replies: 1
Views: 2003

HCI H4: Simultaneous BLE Scanning/Advertising

I'm using an ESP32 on full UART @921kbps to provide Bluetooth capabilities for my Linux machine:

/usr/bin/btattach -S 921600 -B /dev/ttyS10


Linux machine then uses BlueZ to manage all BT-related functions.

Everything works smooth. :)

Most of the time the controller spends its duty in BLE Ad ...
by danergo
Fri Oct 04, 2024 5:19 pm
Forum: ESP-IDF
Topic: ESP32 as HCI controller for BlueZ: MTU change causes missing indications!
Replies: 1
Views: 1586

Re: ESP32 as HCI controller for BlueZ: MTU change causes missing indications!

One addition: I hooked up an oscilloscope onto RX (from Computer point-of-view), so I can see packets arriving to computer.

Now, when I don't accept MTU change request (and it stays 23), I can see traces on the scope.

When we accept MTU request of the client to be raised to 247, scope stays silent ...
by danergo
Fri Oct 04, 2024 2:32 pm
Forum: ESP-IDF
Topic: ESP32 as HCI controller for BlueZ: MTU change causes missing indications!
Replies: 1
Views: 1586

ESP32 as HCI controller for BlueZ: MTU change causes missing indications!

I'm having a fairly complex scenario and hoping some common knowledge to solve this up:

Components:

BLE client device (CL)
ESP-WROOM-32 (ESP32): details below
Linux computer: details below


ESP-WROOM-32 (ESP32)

Used as Bluetooth co-processor: it only provides bluetooth functionality ...
by danergo
Tue Dec 07, 2021 6:26 am
Forum: ESP-IDF
Topic: Using ESP32-WROOM/WROVER with RPi
Replies: 6
Views: 7013

Re: Using ESP32-WROOM/WROVER with RPi

Yes, thank you, already did it :)
by danergo
Tue Oct 19, 2021 6:10 am
Forum: ESP-IDF
Topic: Using ESP32-WROOM/WROVER with RPi
Replies: 6
Views: 7013

Re: Using ESP32-WROOM/WROVER with RPi

@ESP_igrr:

Please help me with this topic. This is blocking my development efforts now, and I'm already started considering on moving over from ESP32 if we can't solve this.

This was exactly my reason of asking before utilizing ESP32, to not have these kind of problems. And now it seems I can't ...
by danergo
Tue Oct 19, 2021 6:07 am
Forum: ESP-IDF
Topic: GATTTool with random address is not working with ESP32 HCI
Replies: 4
Views: 4834

Re: GATTTool with random address is not working with ESP32 HCI

Could you please help me with this?
by danergo
Tue Oct 19, 2021 6:06 am
Forum: ESP-IDF
Topic: L2Ping doesn't work with ESP32
Replies: 3
Views: 3500

Re: L2Ping doesn't work with ESP32

Hello, could you please help me with this?
Thank you.
by danergo
Sun Oct 17, 2021 8:36 am
Forum: ESP-IDF
Topic: Using ESP32-WROOM/WROVER with RPi
Replies: 6
Views: 7013

Re: Using ESP32-WROOM/WROVER with RPi


Hi danergo,

You can get esp32 to expose HCI interface over UART using this example code: https://github.com/espressif/esp-idf/tree/master/examples/bluetooth/hci/controller_hci_uart. On the host you will need to use hciattach command to let bluez stack work with the UART. Note that hardware flow ...
by danergo
Sun Oct 17, 2021 7:31 am
Forum: ESP-IDF
Topic: Using ESP32-WROOM/WROVER with RPi
Replies: 6
Views: 7013

Re: Using ESP32-WROOM/WROVER with RPi

Thank you.

I hope you could help me with my issues. ESP32 is not able to connect to random addressed BLE devices with the espidf provided hci controller sample you recommended:

https://www.esp32.com/viewtopic.php?f=13&t=23766

Also, regularly l2ping fails for a specific device. (In spite of that ...

Go to advanced search