BLE: Set coding of ESP32-C3
Posted: Tue May 18, 2021 5:27 am
I need to make sure that i have maximised the range of the BLE, i've managed to set the mode to CODED PHY, TX_power=15, how can i see which coding is used, s=2 or s=8?
I've used these settings:
I'm using Arduino IDE with ESP32 library
Thank you.
I've used these settings:
Code: Select all
esp_ble_tx_power_set(ESP_BLE_PWR_TYPE_DEFAULT, ESP_PWR_LVL_P18 );
esp_ble_gap_set_prefered_default_phy(ESP_BLE_GAP_PHY_OPTIONS_PREF_S8_CODING,ESP_BLE_GAP_PHY_OPTIONS_PREF_S8_CODING);
Thank you.