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.

CC2640中AOA的i/q采集脚本中的offset代表什么?

Other Parts Discussed in Thread: CC2640

在cc2640的sdk_3_30版本中的AOA功能中,通过脚本采集的i/q数据的参数中的offset代表什么?

采集的数据格式如下:

"name": "CC2640R2 AOA Passive", "type": "aoa", "identifier": "54:6C:0E:A0:45:B0", "payload": {"rssi": -62, "antenna": 1, "channel": 16, "offset": 64, "samplesLength": 511, "samples":

  • 看定义:

    typedef struct __attribute__((packed))

    {

     int8_t  rssi;                 //!< Rssi for this antenna

     uint8_t antenna;              //!< Antenna array used for this result

     uint8_t channel;              //!< BLE data channel for this measurement

     uint16_t offset;              //!< Offset in RAW result (size of samples[])

     uint16_t samplesLength;       //!< Expected length of entire RAW sample

     AoA_IQSample samples[];       //!< The data itself

    } rtlsAoaResultRaw_t;