Closed h00fty closed 4 years ago
Gain values cannot be negative on the hackrf, and set the rate to 10000000 rather 8 mil.
You may also need to obtain a txco from nooelec to fix the severe drifting issue that the hackrf has.
Gain values cannot be negative on the > hackrf,
Mine is set to 14?
and set the rate to 10000000 rather 8 >mil.
No change
I’m beginning to think the signal is not good enough. However, I had a TRX-1 attached to the same antenna in the same location without issue.
Would an actual scanner be better at decoding a weak signal than the SDR?
This is all very new to me and I would love to get it working for the many benefits it has.
Whatever is being passed to your TrunkRecorder from the config is reporting a gain of -14.
[2020-04-30 00:44:16.010625] (info) PPM Error: 0
[2020-04-30 00:44:16.010640] (info) Gain: -14
[2020-04-30 00:44:16.010658] (info) IF Gain: 0
Also, use ifGain and bbGain in place of gain for the HackRF. Normal gain does not quite function as you'd think on it. :)
Thanks. I think i was messing around with different values when i captured the ./recorder response. I have it set at 14. Ive been experimenting with lots of different variables over the last 48 hours without success. This is what my Gqrx looks like. Im able to manually tune into voice channels and hear the traffic.
I think this is the control channel and i have adjusted the error to match
and these are the gain settings im using (updated my Config.json to match)
This is what im currently working with and the resulting errors....
{
"sources": [{
"center": 853500000.0,
"rate": 10000000.0,
"error": -15000,
"gain": 14,
"ifGain": 16,
"bbGain": 22,
"digitalRecorders": 4,
"modulation": "qpsk",
"driver": "osmosdr",
"device": "HackRF=687e07"
}],
"systems": [{
"control_channels": [855712500],
"type": "p25",
"talkgroupsFile": "ChanList.csv"
}],
"captureDir": "/Users/josh/RECORDINGS"
}
Last login: Thu Apr 30 17:06:45 on ttys000
old-mbp:~ josh$ cd trunk-build
old-mbp:trunk-build josh$ ./recorder
[2020-04-30 17:42:56.675027] (info) Using Config file: ./config.json
[2020-04-30 17:42:56.675937] (info)
-------------------------------------
Trunk Recorder
-------------------------------------
0
[2020-04-30 17:42:56.676023] (info)
-------------------------------------
SYSTEMS
-------------------------------------
0
[2020-04-30 17:42:56.676110] (info)
System Number: 1
-------------------------------------
1
[2020-04-30 17:42:56.676157] (info) Short Name: sys_1
[2020-04-30 17:42:56.676170] (info) System Type: p25
[2020-04-30 17:42:56.676194] (info) Control Channels:
[2020-04-30 17:42:56.676222] (info) 8.55712e+08
[2020-04-30 17:42:56.676252] (info) API Key:
[2020-04-30 17:42:56.676267] (info) Broadcastify API Key:
[2020-04-30 17:42:56.676284] (info) Broadcastify Calls System ID: 0
[2020-04-30 17:42:56.676308] (info) Upload Script:
[2020-04-30 17:42:56.676321] (info) Call Log: true
[2020-04-30 17:42:56.676345] (info) Audio Archive: true
[2020-04-30 17:42:56.676359] (info) Loading Talkgroups...
[2020-04-30 17:42:56.676436] (info) Read 1 talkgroups.
[2020-04-30 17:42:56.676471] (info) Talkgroups File: ChanList.csv
[2020-04-30 17:42:56.676487] (info) Loading Unit Tags...
[2020-04-30 17:42:56.676506] (error) Error Opening Unit Tag File:
[2020-04-30 17:42:56.676521] (info) Unit Tags File:
[2020-04-30 17:42:56.676543] (info) Record Unknown Talkgroups: true
[2020-04-30 17:42:56.676556] (info) Decode MDC: false
[2020-04-30 17:42:56.676578] (info) Decode FSync: false
[2020-04-30 17:42:56.676591] (info) Decode Star: false
[2020-04-30 17:42:56.676605] (info) Decode TPS: false
[2020-04-30 17:42:56.676624] (info) Talkgroup Display Format: Id
[2020-04-30 17:42:56.676643] (info) Hide Encrypted Talkgroups: false
[2020-04-30 17:42:56.676661] (info) Hide Unknown Talkgroups: false
[2020-04-30 17:42:56.676676] (info) Minimum Call Duration (in seconds): 0
[2020-04-30 17:42:56.676696] (info)
[2020-04-30 17:42:56.676712] (info)
-------------------------------------
SOURCES
-------------------------------------
[2020-04-30 17:42:56.676744] (info) Driver: osmosdr
[2020-04-30 17:42:56.676759] (info) Center: 8.535000e+08
[2020-04-30 17:42:56.676811] (info) Rate: 10000000
[2020-04-30 17:42:56.676833] (info) Error: -15000
[2020-04-30 17:42:56.676851] (info) PPM Error: 0
[2020-04-30 17:42:56.676866] (info) Gain: 14
[2020-04-30 17:42:56.676883] (info) IF Gain: 16
[2020-04-30 17:42:56.676900] (info) BB Gain: 22
[2020-04-30 17:42:56.676917] (info) LNA Gain: 0
[2020-04-30 17:42:56.676937] (info) PGA Gain: 0
[2020-04-30 17:42:56.676952] (info) TIA Gain: 0
[2020-04-30 17:42:56.676967] (info) MIX Gain: 0
[2020-04-30 17:42:56.676982] (info) VGA1 Gain: 0
[2020-04-30 17:42:56.676997] (info) VGA2 Gain: 0
[2020-04-30 17:42:56.677011] (info) Squelch: 0
[2020-04-30 17:42:56.677026] (info) Idle Silence: false
[2020-04-30 17:42:56.677039] (info) Digital Recorders: 4
[2020-04-30 17:42:56.677058] (info) Debug Recorder: false
[2020-04-30 17:42:56.677072] (info) SigMF Recorders: 0
[2020-04-30 17:42:56.677087] (info) Analog Recorders: 0
[2020-04-30 17:42:56.677107] (info) Modulation: qpsk
[2020-04-30 17:42:56.677131] (info) Source Device: HackRF=687e07
gr-osmosdr v0.1.x-xxx-xunknown (0.1.5git) gnuradio 3.7.13.5
built-in source types: file fcd rtl rtl_tcp uhd sdrplay hackrf bladerf rfspace airspy soapy
[INFO] [UHD] Mac OS; Clang version 10.0.0 (clang-1000.10.44.4); Boost_107100; UHD_3.15.0.0-MacPorts-Release
get_devices started
Device count: 0
get_devices end
Using HackRF One with firmware 2018.01.1
[2020-04-30 17:42:59.354025] (info) SOURCE TYPE OSMOSDR (osmosdr)
[2020-04-30 17:42:59.354072] (info) Setting sample rate to: 10000000
[2020-04-30 17:42:59.355667] (info) Actual sample rate: 10000000
[2020-04-30 17:42:59.355744] (info) Tunning to 8.534850e+08
[2020-04-30 17:42:59.356295] (info) Gain Stage: RF supported values: 0 14
[2020-04-30 17:42:59.356351] (info) Gain Stage: IF supported values: 0 8 16 24 32 40
[2020-04-30 17:42:59.356401] (info) Gain Stage: BB supported values: 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62
[2020-04-30 17:42:59.356419] (info) Max Freqency: 8.584500e+08
[2020-04-30 17:42:59.356447] (info) Min Freqency: 8.485500e+08
[2020-04-30 17:42:59.356710] (info) IF Gain set to: 16
[2020-04-30 17:42:59.356928] (info) BB Gain set to: 22
[2020-04-30 17:42:59.357214] (info) Gain set to: 14
[2020-04-30 17:42:59.357266] (info) Setting antenna to [TX/RX]
Decim: 100 Decim2: 4
[2020-04-30 17:42:59.357695] (info) P25 Recorder two-stage decimator - Initial decimated rate: 100000 Second decimated rate: 25000 FA: 6250 FB: 12500 System Rate: 10000000
gr::fft: can't import wisdom from /Users/josh/.gr_fftw_wisdom
OOOOOOOOOO[2020-04-30 17:42:59.690982] (info) P25 Recorder ARB - Initial Rate: 10000000 Resampled Rate: 25000 Initial Decimation: 100 System Rate: 24000 ARB Rate: 0.96
Project 25 IMBE Encoder/Decoder Fixed-Point implementation
Developed by Pavel Yazev E-mail: pyazev@gmail.com
Version 1.0 (c) Copyright 2009
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; see the file ``LICENSE'' for details.
Decim: 100 Decim2: 4
[2020-04-30 17:42:59.692305] (info) P25 Recorder two-stage decimator - Initial decimated rate: 100000 Second decimated rate: 25000 FA: 6250 FB: 12500 System Rate: 10000000
O[2020-04-30 17:42:59.702078] (info) P25 Recorder ARB - Initial Rate: 10000000 Resampled Rate: 25000 Initial Decimation: 100 System Rate: 24000 ARB Rate: 0.96
Decim: 100 Decim2: 4
[2020-04-30 17:42:59.703238] (info) P25 Recorder two-stage decimator - Initial decimated rate: 100000 Second decimated rate: 25000 FA: 6250 FB: 12500 System Rate: 10000000
O[2020-04-30 17:42:59.712850] (info) P25 Recorder ARB - Initial Rate: 10000000 Resampled Rate: 25000 Initial Decimation: 100 System Rate: 24000 ARB Rate: 0.96
Decim: 100 Decim2: 4
[2020-04-30 17:42:59.713959] (info) P25 Recorder two-stage decimator - Initial decimated rate: 100000 Second decimated rate: 25000 FA: 6250 FB: 12500 System Rate: 10000000
O[2020-04-30 17:42:59.724083] (info) P25 Recorder ARB - Initial Rate: 10000000 Resampled Rate: 25000 Initial Decimation: 100 System Rate: 24000 ARB Rate: 0.96
[2020-04-30 17:42:59.725074] (info)
-------------------------------------
[2020-04-30 17:42:59.725095] (info)
-------------------------------------
INSTANCE
-------------------------------------
[2020-04-30 17:42:59.725167] (info) Capture Directory: /Users/josh/RECORDINGS
[2020-04-30 17:42:59.725198] (info) Upload Server:
[2020-04-30 17:42:59.725216] (info) Broadcastify Calls Server:
[2020-04-30 17:42:59.725231] (info) Status Server:
[2020-04-30 17:42:59.725245] (info) Instance Key:
[2020-04-30 17:42:59.725259] (info) Instance Id:
[2020-04-30 17:42:59.725273] (info) Broadcast Signals: false
[2020-04-30 17:42:59.725287] (info) Default Mode: digital
[2020-04-30 17:42:59.725300] (info) Call Timeout (seconds): 3
[2020-04-30 17:42:59.725320] (info) Log to File: false
[2020-04-30 17:42:59.725334] (info) Control channel warning rate: 10
[2020-04-30 17:42:59.725350] (info) Control channel retune limit: 0
[2020-04-30 17:42:59.725366] (info) Frequency format: 0
[2020-04-30 17:42:59.725380] (info) Status as String: true
[2020-04-30 17:42:59.725394] (info) Log Level: info
[2020-04-30 17:42:59.725428] (info) [sys_1] Started with Control Channel: 8.557125e+08
Decim: 100 Decim2: 4
[2020-04-30 17:42:59.725632] (info) P25 Trunking two-stage decimator - Initial decimated rate: 100000 Second decimated rate: 25000 FA: 6250 FB: 12500 System Rate: 10000000
O[2020-04-30 17:42:59.735641] (info) P25 Trunking ARB - Initial Rate: 10000000 Resampled Rate: 25000 Initial Decimation: 100 System Rate: 24000 ARB Rate: 0.96
OO[2020-04-30 17:43:02.010753] (error) [sys_1] There is only one control channel defined
[2020-04-30 17:43:02.010835] (error) [sys_1] Control Channel Message Decode Rate: 0.666667/sec, count: 2
[2020-04-30 17:43:05.008302] (error) [sys_1] There is only one control channel defined
[2020-04-30 17:43:05.008369] (error) [sys_1] Control Channel Message Decode Rate: 1/sec, count: 3
[2020-04-30 17:43:08.006971] (error) [sys_1] There is only one control channel defined
[2020-04-30 17:43:08.007021] (error) [sys_1] Control Channel Message Decode Rate: 1/sec, count: 3
[2020-04-30 17:43:11.009938] (error) [sys_1] There is only one control channel defined
[2020-04-30 17:43:11.010049] (error) [sys_1] Control Channel Message Decode Rate: 0.666667/sec, count: 2
If you're able, could you jump onto our Gitter.im chat?
I cannot seem to get a Hack RF One to decode a control channel. It gives the error
I have gone over everything multiple times and I think I have it set up correctly. yet no matter what I do or adjust i get the same issue.
Any help is greatly appreciated!
I am trying to tune into this system using the south simulcast
here is my Config File
My error really is 0 when I checked in Gqrx.
And here is HackRF_info
And here is what i get when running ./recorder