kit-cel / gr-lte

GNU Radio LTE receiver
GNU General Public License v3.0
388 stars 149 forks source link

How to create a sample test recording (I have gr-lte working in gnuradio 3.7 docker, just can't build soapy SDR for Pluto and HackRF in container) #42

Open hiviah opened 10 months ago

hiviah commented 10 months ago

I have finally built gr-lte and have all blocks working in gnuradio 3.7 docker container. However, the test files (recordings) according to web search are not available anywhere (issue #28 ). And soapySDR refuses to work with me in the gnuradio 3.7 container.

It would greatly help to have some sample that I know is correct. I.e. how do I create correct recording using either HackRF or Pluto for gr-lte top block (SISO) work correctly on it?

I can already catch LTE cells with https://github.com/JiaoXianjun/LTE-Cell-Scanner (we have good position on top of hill and good discone antenna on roof in our hackerspace, unlike my home which is in valley deep among buildings). With LNA though I get hits even at home in the valley.

I can record the samples outside of container with either HackRF or PlutoSDR ("hacked" to have 70 MHz - 6 GHz range, 56 MHz bandwidth), just not exactly sure about the parameters what the top SISO block expects.

Below is signal from Pluto SDR with its default tiny antennas (already packed everything, so don't have the spectrum from discone antenna saved) image

Sample output from the LTE tracker (not sure if this was from home or the hackerspace, the exact frequencies differ among those places)

% ./LTE-Tracker -f  930000000 -t
OpenCL LTE Tracker (release) beginning. 1.0 to 1.1.0: An enhanced LTE Cell Scanner/tracker. Xianjun Jiao (putaoshu@msn.com)
  PPM: 120
  correction: 1
HACKRF device FOUND!
Calibrating local oscillator.
Use dongle begin with 930MHz actual 930MHz 1.92e+06MHz
    Search frequency: 930 to 930 MHz
with freq correction: 0 kHz
    Search PSS at fo: -110 to 105 kHz

input level: avg abs(real) 0.269581 avg abs(imag) 0.270869
Hit        PAR [6.61773 6.40991]dB
PSS XCORR  cost 4.29477s

input level: avg abs(real) 0.26217 avg abs(imag) 0.263795
Hit        PAR [5.17145 5.44574]dB
PSS XCORR  cost 4.28295s

input level: avg abs(real) 0.27051 avg abs(imag) 0.271976
Hit        PAR [5.15081 5.02955]dB
PSS XCORR  cost 4.3125s

input level: avg abs(real) 0.274098 avg abs(imag) 0.275018
Hit        PAR [5.56893 5.47029]dB
PSS XCORR  cost 4.28866s

input level: avg abs(real) 0.266749 avg abs(imag) 0.268551
Hit        PAR [4.5939 4.79179]dB
PSS XCORR  cost 4.29515s

input level: avg abs(real) 0.270447 avg abs(imag) 0.27194
Hit        PAR [4.6368 5.29696]dB
PSS XCORR  cost 4.2994s

input level: avg abs(real) 0.276612 avg abs(imag) 0.278909
Hit        PAR [5.66204 5.70618]dB
PSS XCORR  cost 4.29983s