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.

关于CC1310的.rxConf.bAppendRssi = 0x1的疑惑

图中的bAppendRssi = 1 的意思是在收到的数据后自动别上RSSI的值么?可是我读出来的似乎有点不对。

所以我想问问在RF接收的时候bAppendRssi附加上去的RSSI值具体在哪??谢谢!! 

  • 您可以试一下以下代码

    在 smartrf_settings.c内

    .rxConf.bAppendRssi = 0x1,
    .rxConf.bAppendTimestamp = 0x1,

    在 rfPacketRx.c内:

    #define NUM_APPENDED_BYTES 7 // RSSI is one extra byte and timestamp is 4, see 23.7.4.1 in the TRM

    memcpy(packet, packetDataPointer, (packetLength + 6));

    int8_t rssi = packet[30]; // 我有一个30 byte 的long packet