您好!
我们有一些从 rfWsnConcentratorOadServer 示例项目启动的项目-一个具有多个节点的集中器、在一定的时间间隔内进行报告。 我的问题-如何在集中器 CC1312R 中设置无线电内核以在数据包之间测量自主 RSSI、并在 RSSI 高于特定阈值时调用一些回调? 有可能吗? 当然、在控制器中保留正常的接收过程。
我知道可以通过 EasyLink_getRssi 函数在主内核的环路中测量 RSSI、但我想避免这种情况。
感谢您的任何建议
此致
弗兰蒂塞克
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.
您好!
我们有一些从 rfWsnConcentratorOadServer 示例项目启动的项目-一个具有多个节点的集中器、在一定的时间间隔内进行报告。 我的问题-如何在集中器 CC1312R 中设置无线电内核以在数据包之间测量自主 RSSI、并在 RSSI 高于特定阈值时调用一些回调? 有可能吗? 当然、在控制器中保留正常的接收过程。
我知道可以通过 EasyLink_getRssi 函数在主内核的环路中测量 RSSI、但我想避免这种情况。
感谢您的任何建议
此致
弗兰蒂塞克
以下配置将使无线电保持在 RX 中、并且仅在 RSSI 高于阈值时退出它:
// CMD_PROP_CS
rfc_CMD_PROP_CS_t RF_cmdPropCs =
{
.commandNo = CMD_PROP_CS,
.status = 0x0000,
.pNextOp = 0,
.startTime = 0x00000000,
.startTrigger.triggerType = TRIG_NOW,
.startTrigger.bEnaCmd = 0x0,
.startTrigger.triggerNo = 0x0,
.startTrigger.pastTrig = 0x0,
.condition.rule = COND_ALWAYS,
.condition.nSkip = 0x0,
.csFsConf.bFsOffIdle = 0x0, // Keep synthesizer running if command ends with channel Idle
.csFsConf.bFsOffBusy = 0x0, // Keep synthesizer running if command ends with Busy
.__dummy0 = 0x00,
.csConf.bEnaRssi = 0x1, // Enable RSSI as a criterion
.csConf.bEnaCorr = 0x0, // Disable correlation (PQT) as a criterion
.csConf.operation = 0x0, // Busy if either RSSI or correlation indicates Busy
.csConf.busyOp = 0x1, // End carrier sense on channel Busy
.csConf.idleOp = 0x0, // Continue on channel Idle
.csConf.timeoutRes = 0x0, // Timeout with channel state Invalid treated as Busy
.rssiThr = RSSI_THRESHOLD_DBM,
.numRssiIdle = 0x0, // Number of consecutive RSSI measurements - 1 below the threshold
// needed before the channel is declared Idle
.numRssiBusy = 0x0, // Number of consecutive RSSI measurements -1 above the threshold
// needed before the channel is declared Busy
.corrPeriod = 0x0000, // N/A since .csConf.bEnaCorr = 0
.corrConfig.numCorrInv = 0x0, // N/A since .csConf.bEnaCorr = 0
.corrConfig.numCorrBusy = 0x0, // N/A since .csConf.bEnaCorr = 0
.csEndTrigger.triggerType = TRIG_NEVER,
.csEndTrigger.bEnaCmd = 0x0,
.csEndTrigger.triggerNo = 0x0,
.csEndTrigger.pastTrig = 0x0,
.csEndTime = 0x00000000, // Set the CS end time in the application
};
有关 CS 命令的更多信息、请单击此处:
BR
Siri