HCI H4: Simultaneous BLE Scanning/Advertising
Posted: Wed Dec 17, 2025 7:54 am
I'm using an ESP32 on full UART @921kbps to provide Bluetooth capabilities for my Linux machine:
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 scanning (activated by BlueZ on HCI):
This is from a btmon output:
(How) Can I do it with ESP32 as a HCI BT processor or it will introduce massive problems?
Thank you!
/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 scanning (activated by BlueZ on HCI):
This is from a btmon output:
I wish now not just scanning ads, but also advertising.HCI Command: LE Set Scan Enable
(How) Can I do it with ESP32 as a HCI BT processor or it will introduce massive problems?
Thank you!