p2000scanner icon indicating copy to clipboard operation
p2000scanner copied to clipboard

usb

Open linuxpronl opened this issue 9 years ago • 7 comments

any plans to make this work with usb sdr ?

linuxpronl avatar Feb 08 '16 11:02 linuxpronl

Sorry for my delayed response.

I've got a script that reads a raw rtl_fm dump and makes it readable by the scanner. Is this something you can work with?

On 8 February 2016 at 12:05, Marc [email protected] wrote:

any plans to make this work with usb sdr ?

— Reply to this email directly or view it on GitHub https://github.com/jbrunink/p2000scanner/issues/4.

jbrunink avatar Feb 15 '16 10:02 jbrunink

This script would be extremely handy. Can you put it on Github?

Many thanks

On Mon, 15 Feb 2016 at 20:45 jbrunink [email protected] wrote:

Sorry for my delayed response.

I've got a script that reads a raw rtl_fm dump and makes it readable by the scanner. Is this something you can work with?

On 8 February 2016 at 12:05, Marc [email protected] wrote:

any plans to make this work with usb sdr ?

— Reply to this email directly or view it on GitHub https://github.com/jbrunink/p2000scanner/issues/4.

— Reply to this email directly or view it on GitHub https://github.com/jbrunink/p2000scanner/issues/4#issuecomment-184146803 .

kel39 avatar Feb 15 '16 14:02 kel39

Hereby! You can find it here https://github.com/jbrunink/p2000scanner/blob/master/examples/rtlfm-to-scanner.c. Thanks to Kester Everts (@kestereverts).

I used it as following: rtl_fm -M fm -f 169.650M -E dc -s 24000 -g 10 -l 250 | ./p2000 | ./scanner -d test

Where p2000 is the script. I've made some adjustments to scanner.c (not on Github) so it reads from stdin, I'll have to look these changes up. Feel free to make the necessary adjustments yourself!

jbrunink avatar Feb 15 '16 14:02 jbrunink

This is awesome! Do you have any recommendations for the used sdr dongle?

svdgraaf avatar Aug 09 '16 06:08 svdgraaf

Running on a Raspberry with a SDR Dongle. I compiled both without to many problems, used the above mentioned commandline, and it looks like there is some data coming in. But don't get any readable data:

rtl_fm -M fm -f 169.650M -E dc -s 24000 -g 38.6 -l 0 -p 45 | ./p2000 | ./scanner -d /dev/stdin
Bound to tcp://[*]:5555
*** Program started. Mede mogelijk gemaakt door:
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Tuner gain set to 38.60 dB.
Tuner error set to 45 ppm.
Tuned to 169902000 Hz.
Oversampling input by: 42x.
Oversampling output by: 1x.
Buffer size: 8.13ms
Exact sample rate is: 1008000.009613 Hz
Sampling at 1008000 S/s.
Output at 24000 Hz.
Setting zero..
Setting zero..

Messages counter: 0
Setting zero..

Messages counter: 0
Setting zero..
Setting zero..
Setting zero..
Setting zero..
Setting zero..
Setting zero..

Is there any support on this project ?

dewoert avatar Dec 19 '16 21:12 dewoert

I've done no work on the project for quite some time, I'll have to look up how I had it running with the SDR dongle.

Still want to redo the whole codebase, but for now it's stable.

What OS are you running, commandline/flags, etc?

On Mon, 19 Dec 2016 at 22:53, dewoert [email protected] wrote:

Running on a Raspberry with a SDR Dongle.

I compiled both without to many problems, used the above mentioned commandline, and it looks like there is some data coming in.

But don't get any readable data.

Is there any support on this project ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jbrunink/p2000scanner/issues/4#issuecomment-268089641, or mute the thread https://github.com/notifications/unsubscribe-auth/ABE-DhgQpYRGJGAKBY5qOr2XomFv3XNqks5rJvzZgaJpZM4HVbwh .

jbrunink avatar Dec 19 '16 22:12 jbrunink

I'm running Raspbian GNU/Linux 8 (jessie). RTL_FM is running fine, i also us that for multimon-ng, and there i get readable messages. multimon-ng seems to have a problem with FLEX Groupmessages, so i was looking for something else. This project seems perfect, based on PDW and most important for me: JSON output. But: First i need to get it correctly running. I seems to receive data like you can see in my previous message. Counters stay zero. I'm not a skilled programmer, did some debugging, and turns out it all "stops" at the xsumchk. Allways returns an 1

dewoert avatar Dec 20 '16 19:12 dewoert