Other Parts Discussed in Thread: CC1310
最近在做一个CC1310的项目,想获取到RF的信号质量,查看了CC13xx, CC26xx SimpleLink™ Wireless MCU
Technical Reference Manual,里面有一个correlation值,可以代表信号质量,但是文档里面描述的这条指令在802.15.4的协议下,能不能直接在esaylink下直接获取到此correlation value?或者说还可以有其他值来代表信号质量?
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.
Other Parts Discussed in Thread: CC1310
最近在做一个CC1310的项目,想获取到RF的信号质量,查看了CC13xx, CC26xx SimpleLink™ Wireless MCU
Technical Reference Manual,里面有一个correlation值,可以代表信号质量,但是文档里面描述的这条指令在802.15.4的协议下,能不能直接在esaylink下直接获取到此correlation value?或者说还可以有其他值来代表信号质量?
可以直接使用easylink接口,例子RF EasyLink Rx里接收的回调函数里已经有说明如何得到rssi. 默认使用Async.
则在回调函数rxDoneCb里的EasyLink_RxPacket * rxPacket 是有带这个包的RSSI值的。
typedef struct
{
uint8_t dstAddr[8]; ///Dst Address of RX'ed packet
int8_t rssi; ///rssi of RX'ed packet
uint32_t absTime; ///Absolute time to turn on Rx when passed
///(0 for immediate), Or Absolute time that packet was Rx
///when returned.
uint32_t rxTimeout; ///Relative time in ticks from Rx start to Rx TimeOut
///a value of 0 means no timeout
uint8_t len; ///length of RX'ed packet
uint8_t payload[EASYLINK_MAX_DATA_LENGTH]; ///payload of RX'ed packet
} EasyLink_RxPacket;