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.

如何修改 Zigbee 模块的发射功率

Other Parts Discussed in Thread: CC2591, CC2530, Z-STACK

在实际应用中,经常要根据不同的使用环境和需求来提高或者降低 Zigbee 模块的发射功率。接下来介绍如何在协议栈中修改 CC2530 普通模块和带 CC2591 PA 芯片的 CC2530 模块的发射功率。

1、带 CC2591 PA 芯片的模块功率表:

2、CC2530 普通模块的功率表:

设置功率的函数是:MAC_INTERNAL_API uint8 macRadioSetTxPower(uint8 txPower)

如果要修改功率,不用管函数前面如何索引功率表,只须在功率参数更新前把我们想要改的值赋给 reqTxPower 。