This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[FAQ] 修改发射功率

一、发射功率作用

发射功率越大,发出信号越强,传输距离越远,功耗越大。同理,发射功率越小,发出信号越弱,传输距离越近,功耗也就越小
二、发射功率范围:

在hci.h文件下列出了CC26XX、CC13XX和CC254X系列发射功率的调节范围, CC26XX和CC13XX系列有最小-21dBm到最大5dBm共13种可选的发射功率,CC254X系列有-23dBm、-6dBm、0dBm和4dBm四种发射功率。

三、修改发射功率

例如将ble5_simple_peripheral例程发射功率修改成5dBm可以在simple_peripheral.c 的 SimpleBLEPeripheral_init 最后添加代码:

HCI_EXT_SetTxPowerCmd(HCI_EXT_TX_POWER_5_DBM);