Search found 1 match
- Thu Jul 14, 2022 10:24 am
- Forum: ESP-IDF
- Topic: BLE Tx Power Setting Error
- Replies: 1
- Views: 2126
Re: BLE Tx Power Setting Error
Hi, You can try checking the method return value with [ESP_ERROR_CHECK(x)](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/esp_err.html?highlight=check%20error#c.ESP_ERROR_CHECK) macro. } else { ESP_ERROR_CHECK(esp_ble_tx_power_set(ESP_BLE_PWR_TYPE_ADV,ESP_PWR_LVL_P9...