Hi,
I am interested in increasing the BLE range of the ESP32C3 and I’m a little confused about BLE 5.0 vs 4.2, as I understand it BLE 5.0 is long-range.
Is BLE 5.0 purely a hardware-level change( that the programmer doesn’t see) or are there software-level changes?
I notice there are configuration options for BLE 5.0 in the menu config, how should this be configured?
If there are software-level changes are there any examples of BLE 5.0 used as a GATT server?
Thanks
You have to use ESP_BLE_GAP_PHY_2M or ESP_BLE_GAP_PHY_CODED settings (just play with settings). https://github.com/espressif/esp-idf/blob/master/examples/bluetooth/bluedroid/ble_50/ble50_security_server/main/ble50_sec_gatts_demo.c#L52-L54
You have to use ESP_BLE_GAP_PHY_2M or ESP_BLE_GAP_PHY_CODED settings (just play with settings).
https://github.com/espressif/esp-idf/blob/master/examples/bluetooth/bluedroid/ble_50/ble50_security_server/main/ble50_sec_gatts_demo.c#L52-L54
See less