bastibl / gr-ieee802-15-4

IEEE 802.15.4 ZigBee Transceiver
https://www.wime-project.net
GNU General Public License v3.0
271 stars 87 forks source link

output RSSI and raw data #16

Closed 0x10cxR1 closed 7 years ago

0x10cxR1 commented 7 years ago

Hi,

how to output the RSSI and even the raw IQ data for each detected zigbee packet?

Thanks.

bastibl commented 7 years ago

Unfortunately, that's not possible out of the box. Currently, the IQ samples from the SDR are demodulated and then decoded. That means, at the time when a frame is detected (by finding the preamble in the decoded data) it's not IQ anymore. You would, for example, have to introduce a second parallel stream of raw IQ data and log/dump this IQ data once a frame is found. While typical SDRs are no calibrated device, the RSSI can, then, be derived from the IQ data (you also have to take the gain into account).

0x10cxR1 commented 7 years ago

Thanks a lot!