bastibl / gr-ieee802-15-4

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

How to do RF fingerprinting #76

Open lsh20049200126 opened 8 months ago

lsh20049200126 commented 8 months ago

I would like to do RF fingerprinting (carrier frequency offset) for Zigbee devices based on this project (Carrier Frequency Offset (CFO), Amplitude Error, Phase Error, DC Bias, and Synchronization error), how can I achieve this goal

bastibl commented 8 months ago

The Single Pole IIR Filter calculates the estimate for the CFO. The rest could be estimated in the Clock Recovery MM block. At the moment, none of this is logged or annotated to the sample data. So you would have to extend the receiver accordingly. You also have to come up with a strategy to correlated logged values with decoded frames (add tags to samples) or log absolute samples indices (nitems_read) and correlate in post processing.

Chen-Sanyuan commented 8 months ago

What are the functions of Single_Pole_IIR_Filter and Clock_Recovery_MM, and why do we need to subtract the signal that passed through Single_Pole_IIR_Filter from the demodulated signal?Thanks a lot.

bastibl commented 8 months ago

The Single Pole IIR filter does CFO correction. Clock recovery is described here: https://wiki.gnuradio.org/index.php/Clock_Recovery_MM