esp_ble_tx_power_set returns error 0x106 (262)
Posted: Sun Dec 10, 2023 2:00 pm
when trying to do esp_ble_tx_power_set(ESP_BLE_PWR_TYPE_CONN_HDL0, ESP_PWR_LVL_P3) after the ESP_GATTC_CONNECT_EVT event, error 0x106 (262) is returned. What is this error and how can I solve it? We need maximum transmit power when the ble connection is active. Configuration: esp32c3, idf 5.1.1, esp32c3 acts as a scanner and client, using ble 5.0 with coded phy s8, the code is written based on the example ble50_sec_gattc_demo