Open Dimtios opened 5 years ago
Hi @Dimtios,
I recently bought HackRF ONE and faced a problem, when using grgsm_livemon, everything goes well, but when you capture a channel, it becomes impossible to run it using grgsm_decode, wireshark does not see anything. With Rtl-Sdr v3, everything goes fine. Tell me what could be the problem with?
The HackRF has a big DC offset/spike that most probably causes this problem.
See: https://github.com/mossmann/hackrf/wiki/FAQ#what-is-this-big-spike-in-the-center-of-my-received-spectrum https://github.com/mossmann/hackrf/wiki/FAQ#how-do-i-deal-with-the-dc-offset
grgsm_livemon
works because it captures with an 400kHz offset but latest versions of grgsm_capture
does not support capturing with an offset. This feature was removed in https://github.com/ptrkrysik/gr-gsm/commit/81ba56f59dcefb2d39d023c68d3a077b4a321520
See also. https://groups.google.com/d/msg/gr-gsm/Zt47sSi3NOM/USE9IGlWAAAJ https://groups.google.com/d/msg/gr-gsm/FhqNPtk3GME/28pMXO8SAgAJ https://dsp.stackexchange.com/questions/40734/what-does-correcting-iq-do?newreg=aea502529d314116984a46b8e8b34e3a
Capturing with:
grgsm_capture -f 950.2M -g 40 -T 15 -s 1M out_hackrf_1S_15T.cfile
Console info output:
One possible solution to the DC offset problem is to capture with some offset, on a different center frequency then the one that you need and then use grgsm_channelize
script to extract the needed ARFCN or create a simple gnuradio flowgraph an use the Rotator block to shift the center frequency similar to what grgsm_livemon.grc
does, together with a file source block and a file sink blocks.
Another solution that you could try is to use an older grgsm_capture
version (https://github.com/ptrkrysik/gr-gsm/commit/57431ed50cb3e2530e6f5337fea9a98c4e6b4b2d) or try reverting https://github.com/ptrkrysik/gr-gsm/commit/81ba56f59dcefb2d39d023c68d3a077b4a321520
P.S. We have a mailing list where you could post questions/problems like this one.
Hello, I recently bought HackRF ONE and faced a problem, when using grgsm_livemon, everything goes well, but when you capture a channel, it becomes impossible to run it using grgsm_decode, wireshark does not see anything. With Rtl-Sdr v3, everything goes fine. Tell me what could be the problem with?
Capturing with:
grgsm_capture -f 950.2M -g 40 -T 15 -s 1M out_hackrf_1S_15T.cfile
Console info output:
Responding to command hackrf_info
When using Rtl-Sdr v3 capturing with:
grgsm_capture -f 950.2M -g 40 -T 15 -s 1M out_rtlsdr_1S_15T.cfile
Decoding with:
grgsm_decode -f 950.2M -s 1M -c out_rtlsdr_1S_15T.cfile
HackRF cfile Rtl-Sdr cfile