请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
主题中讨论的其他器件:CC2591、 CC2530、 Z-STACKhelloYikai Chen! 在#define HAL_PA_LNA 之后。 如何提高 txPower。
我在2个 CC2530 + CC2591之间的10米(室内)距离内完成了数据传输、但距离>10米(室内)无法传输数据。
如何提高 txPower 并增加传输距离?
谢谢你
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.
我通过添加编辑了 FW
HAL_ENTER_CRITICAL_SECTION (s);
/*当 chỉ mục chỉ mục để giá trị μ A 功率寄存器时、
*任何 txPower (uint8类型)都必须显式转换为 INT8
* hoặc biểu thức phụ thuộc vào cần thiết μ s để μ m uint8 để làm việc
*综合促销。
*秀 đây là thêm kích cỡ kích cỡ MÃ và chúng 秀秀 này được dùng。
*/
{
uint8索引= pTable [MAC_RADIO_Defs_TBL_TXPWR_FIRST_Entry]- txPower
+ MAC_RADIO_Defs_TBL_TXPWR_entries;
reqTxPower = pTable [索引];
/*抽象的升压模式选择*/
// mac_radio_select_boost_mode (reqTxPower);
}
HAL_exit_critical 部分(s);
reqTxPower = 0xE5;
/*更新无线电功率设置*/
macRadioUpdateTxPower ();
您认为这是真的吗?
编辑后、我进行调试并查看
reqTxPower 和 macPhyTxPower = 0xE5