esp-idf/examples/bluetooth/hci/ble_adv_scan_combined
Ivan Grokhotkov 708e99497b
global: add dependency on esp_timer component and include esp_timer.h
Some components were including esp_timer.h without declaring a
dependency on esp_timer component. This used to work due to a
transitive public dependency on esp_timer from freertos component.
Add explicit dependencies where needed.
Also some source files were using esp_timer functions without
including the header file. This used to work because esp_timer.h was
included from freertos port header file. This commit adds esp_timer.h
includes where needed.
2022-04-25 18:39:23 +02:00
..
main global: add dependency on esp_timer component and include esp_timer.h 2022-04-25 18:39:23 +02:00
CMakeLists.txt bluetooth: Added HCI example for combined scanning and advertising. 2020-07-28 05:32:14 +00:00
README.md bluetooth: Added HCI example for combined scanning and advertising. 2020-07-28 05:32:14 +00:00
sdkconfig.defaults bluetooth: Added HCI example for combined scanning and advertising. 2020-07-28 05:32:14 +00:00

Supported Targets ESP32

ESP-IDF Combined Bluetooth advertising and scanning

This is a Bluetooth advertising and scanning demo with virtual HCI interface. Send Reset, ADV_PARAM, ADV_DATA and HCI_ADV_ENABLE command for BLE advertising. And SET_EVENT_MASK, SCAN_PARAMS and SCAN_START commands for BLE scanning. Scanned advertising reports from other devices are also displayed.

In this example no host is used. But some of the functionalities of a host are implemented.