BLE long range

Wasabinary
Posts: 13
Joined: Fri Apr 23, 2021 10:09 am

BLE long range

Postby Wasabinary » Mon Jul 04, 2022 7:22 am

Hello,

I am currently looking for solutions to use Bluetooth long range on ESP32.
I started working with Bluedroid ble50_security_server from esp-idf Github repository https://github.com/espressif/esp-idf/tr ... ity_server, and changed primary_phy and secondary_phy of esp_ble_gap_ext_adv_params_t struct:

Code: Select all

esp_ble_gap_ext_adv_params_t ext_adv_params_2M = {
    .type = ESP_BLE_GAP_SET_EXT_ADV_PROP_CONNECTABLE,
    .interval_min = 0x20,
    .interval_max = 0x20,
    .channel_map = ADV_CHNL_ALL,
    .filter_policy = ADV_FILTER_ALLOW_SCAN_ANY_CON_ANY,
    .primary_phy = ESP_BLE_GAP_PHY_CODED,
    .max_skip = 0,
    .secondary_phy = ESP_BLE_GAP_PHY_1M,
    .sid = 0,
    .scan_req_notif = false,
    .own_addr_type = BLE_ADDR_TYPE_PUBLIC,
};
I don't really know if that's the way to proceed and I'd like to find people to share their experience about BLE long lange & Bluedroid library.

If possible, I would also like to use BLE Coded Phy with NimBLE. Is it possible? How can I adapt Espressif examples to work at long ranges?

TristanB
Posts: 4
Joined: Wed Jun 15, 2022 9:53 am

Re: BLE long range

Postby TristanB » Wed Jul 27, 2022 8:43 am

Hi

I am currently also trying to achieve communicating with BLE mesh in long range mode. I managed to reach the Espressif technical support that told me that the BLE5.0 mesh is not available for the moment. You have to stay on ble 4.2 and try to modify the code to activate the long range mode.
You seems to be on the right way, but unfortunatelly I am also stuck at this point on my side. Please update your topic if you achieve this :)

Tristan

Who is online

Users browsing this forum: johboh and 163 guests