请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:CC1352P 我想让 EasyLink CCA RSSI 阈值(dBm) syscfg 参数在运行时可配置。(6.10 SDK)
有可能吗?
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.
我想让 EasyLink CCA RSSI 阈值(dBm) syscfg 参数在运行时可配置。(6.10 SDK)
有可能吗?
我看到在 rfEasylinkListenBeforeTalk 示例中: EasyLink_cmdPropc 命令用于 EasyLink_transmitCcaAsync。 您可以向此函数添加另一个参数并修改 API。
在 Easylink.c 中:
EasyLink_Status EasyLink_transmitCcaAsync(EasyLink_TxPacket *txPacket, EasyLink_TxDoneCb cb, int8_t threshold)
{
EasyLink_Status status = EasyLink_Status_Tx_Error;
uint32_t cmdTime;
EasyLink_cmdPropCs.rssiThr = threshold;
网址为 Easylink.h
//*****************************************************************************
extern EasyLink_Status EasyLink_transmitCcaAsync(EasyLink_TxPacket *txPacket,
EasyLink_TxDoneCb cb, int8_t threshold);
在 rfEasylinkListenBeforeTalk .c 中
// Any threshold value.
EasyLink_transmitCcaAsync(&lbtPacket, lbtDoneCb, -85);
此致、
SID