I am working on the Bluetooth side of the ESP32, and I was wondering if there is a way to set a single Bluetooth channel for BT and BLE mode?
I was playing around the source code a little bit and I found a way to set a channel for advertising in BLE mode, however, the available channels are 37-39 and all, but I want to have 1-40 for BLE and 1-78 for BT.
Headerfile:
https://github.com/espressif/esp-idf/bl ... _ble_api.h
Code: Select all
esp_ble_gap_start_advertising(esp_ble_adv_params_t *adv_params)
esp_ble_adv_channel_t channel_map
enum esp_ble_adv_channel_t
ADV_CHNL_37 = 0x01
ADV_CHNL_38 = 0x02
ADV_CHNL_39 = 0x04
ADV_CHNL_ALL = 0x07