修改路径如下:
platform\drivers\bt\best2300a\bt_drv_rfconfig.c
void bt_drv_tx_pwr_init(void)
{
//ble txpower need modify ble tx idx @ bt_drv_config.c
//modify bit4~7 to change ble tx gain
if (0 == check_btpower_efuse_invalid())
{
//TRACE(1, "%s 0 == check_btpower_efuse_invalid()", __func__);
btdrv_write_rf_reg(0x18b, 0x0072); // max tx gain 2019.02.26
btdrv_write_rf_reg(0x189, 0x0072); // min tx gain 2019.02.26
btdrv_write_rf_reg(0x18a, 0x0072); // mid tx gain 2019.02.26
read_18b_backup = 0x00B2;
}
else
{
uint16_t read_value;
//btdrv_write_rf_reg(0x18b, 0x0072); // 74,max tx gain 2019.02.26