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.

[参考译文] CC1352P:EasyLink CCA RSSI 阈值(dBm)-动态配置(6.10 SDK)

Guru**** 2484615 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/1195499/cc1352p-easylink-cca-rssi-threshold-dbm---configure-it-dynamically-6-10-sdk

器件型号:CC1352P

我想让 EasyLink CCA RSSI 阈值(dBm) syscfg 参数在运行时可配置。(6.10 SDK)

有可能吗?  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Michael、  

    该参数似乎应用于 Easylink.c 中的 Easylink_init()函数 EasyLink_cmdPropc 是射频驱动程序的 propCS 命令。 如果在计划此命令之前更新 rssiThr 字段,则该字段应该起作用。

    此致、

    SID

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    是的、我正在寻找一种即使  在 EasyLink Init 函数之后也能更新 rssiThr 的方法

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我看到在 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