Auteur Topic: P2000 en Raspberry pi - Multimon-ng  (gelezen 49944 keer)

0 leden (en 1 gast) bekijken dit topic.

Offline gersmit

  • Nieuw Lid
  • *
  • Berichten: 1
P2000 en Raspberry pi - Multimon-ng
« Gepost op: 23 april 2017, 09:16:04 »
Wie help mij op pad,
Ik heb P2000 draaien op de Raspberry pi, decoderen met Multimon-ng en alles werkt.
Nou ja, alles werkt! tot en met signaal op de Scope werkt alles, maar berichten geven......niets.
Het heeft gewerkt en heb ook gezien dat de P2000 berichten voorbij kwamen.
Wie geeft mij de oplossing in iets wat ik misschien over het hoofd zie.
Dank alvast

Offline One Guy, One Blog

  • Beginnend Lid
  • **
  • Berichten: 66
    • One Guy, One Blog
Re: P2000 en Raspberry pi - Multimon-ng
« Reactie #1 Gepost op: 2 mei 2017, 22:43:40 »
Wie help mij op pad,
Ik heb P2000 draaien op de Raspberry pi, decoderen met Multimon-ng en alles werkt.
Nou ja, alles werkt! tot en met signaal op de Scope werkt alles, maar berichten geven......niets.
Het heeft gewerkt en heb ook gezien dat de P2000 berichten voorbij kwamen.
Wie geeft mij de oplossing in iets wat ik misschien over het hoofd zie.
Dank alvast

Ik weet niet of je er iets aan hebt, maar op mijn weblog staat beschreven hoe ik het aan de praat heb gekregen:
https://nl.oneguyoneblog.com/2016/08/09/p2000-ontvangen-decoderen-raspberry-pi/

Als je deze aanwijzing volgt en je krijgt het nog niet werkend dan wil ik je wel helpen het probleem te vinden. Hou er wel rekening mee dat Multimon-ng groepsberichten nog niet goed kan parsen (de 'unknown' meldingen), dus je ziet (nog) niet alle meldingen met deze configuratie.

Offline krisken

  • Beginnend Lid
  • **
  • Berichten: 15
Re: P2000 en Raspberry pi - Multimon-ng
« Reactie #2 Gepost op: 15 mei 2017, 00:46:05 »
Kan je de berichten die voorbij komen op de Raspberry pi dan ook in PDW zetten, of deze kegelen in een database (mysql) om deze daarna op een website weer te geven?

Offline Scanner053

  • Aeronautical Station Operator
  • Gevorderd Lid
  • ***
  • Berichten: 176
    • LuchtvaartO_NL
Re: P2000 en Raspberry pi - Multimon-ng
« Reactie #3 Gepost op: 9 juni 2017, 19:19:49 »
Kan je de berichten die voorbij komen op de Raspberry pi dan ook in PDW zetten, of deze kegelen in een database (mysql) om deze daarna op een website weer te geven?

Zo'n MySQL connectie vanaf de Pi zou een fantastisch iets zijn.
Zodat je later de meldingen kan weergeven op een site.
Scanners & Transceivers:
UBC 9000XLT | UBC 125XLT | 2x UBC 355CLT | YAESU FTA-450L
Antennes:
Diamond D-777 | Sirio GP 160 | FlightAware 1090MHz ADS-B
PiAware (RPI3B+)
sharing data with several ADS-B Flightradars

Offline One Guy, One Blog

  • Beginnend Lid
  • **
  • Berichten: 66
    • One Guy, One Blog
Re: P2000 en Raspberry pi - Multimon-ng
« Reactie #4 Gepost op: 10 juli 2017, 09:59:33 »
Hou er wel rekening mee dat Multimon-ng groepsberichten nog niet goed kan parsen (de 'unknown' meldingen), dus je ziet (nog) niet alle meldingen met deze configuratie.

Het probleem met de [UNK[ meldingen in multimon-ng is opgelost.  Met de code uit deze repository worden alle meldingen inclusief de groepsmeldingen correct gedecodeerd: https://github.com/zanoroy/multimon-ng/.

De tutorial op m'n weblog heb ik inmiddels aangepast:
https://nl.oneguyoneblog.com/2016/08/09/p2000-ontvangen-decoderen-raspberry-pi/

Offline DVE

  • Beginnend Lid
  • **
  • Berichten: 76
  • Embedded/Python/DSP developer
Re: P2000 en Raspberry pi - Multimon-ng
« Reactie #5 Gepost op: 21 november 2017, 20:06:55 »
Hi allemaal.

Mijn klein project met Raspberry Pi: RPi + RTL-SDR + Adafruit LCD
SDRPlay, USRP, ICR-8600

Offline ET

  • Top Lid
  • ****
  • Berichten: 1309
  • Schiedam
Re: P2000 en Raspberry pi - Multimon-ng
« Reactie #6 Gepost op: 22 november 2017, 06:58:47 »
Ziet er goed uit, nu nog een mooi kastje en je bent klaar.

Elmar
Uniden UBC9000XLT / RTL R820T2 / Funcube Pro
Ailunce HD1 / Motorola MTH800 / Motorola DM4600 / Motorola GM360
Diamond X50 / Diamond D707 / Diamond MR77B / Kathrein K751221 (UHF)

Offline DVE

  • Beginnend Lid
  • **
  • Berichten: 76
  • Embedded/Python/DSP developer
Re: P2000 en Raspberry pi - Multimon-ng
« Reactie #7 Gepost op: 22 november 2017, 20:41:23 »
Het is nog een prototype. Ik maak nu ook webserver in RaspberryPi, so kun ik ook van verschillende apparaten (PC, smartphone) data lezen.


Ik zal later Python broncode op github delen.
SDRPlay, USRP, ICR-8600

Offline DVE

  • Beginnend Lid
  • **
  • Berichten: 76
  • Embedded/Python/DSP developer
Re: P2000 en Raspberry pi - Multimon-ng
« Reactie #8 Gepost op: 25 november 2017, 10:51:19 »
SDRPlay, USRP, ICR-8600

Offline tomo-dj

  • Gevorderd Lid
  • ***
  • Berichten: 106
    • 112PERS
Re: P2000 en Raspberry pi - Multimon-ng
« Reactie #9 Gepost op: 6 december 2017, 19:07:28 »
Het is mij nog niet gelukt om multimon-ng te installeren.

Wanneer ik "sudo make install" uitvoer krijg ik de volgende output;

install -m 755 -p "multimon-ng" "/usr/local/bin/multimon-ng"
strip "/usr/local/bin/multimon-ng"

Iemand enig idee wat ik fout doe?
Je eigen P2000 monitor? https://112PERS.nl
Lifeliners volgen? https://lifeliners.nl
Incidenten via Telegram? https://t.me/incidenten


Offline DVE

  • Beginnend Lid
  • **
  • Berichten: 76
  • Embedded/Python/DSP developer
Re: P2000 en Raspberry pi - Multimon-ng
« Reactie #10 Gepost op: 6 december 2017, 19:47:35 »
Volgens mij, "qmake" of "make" resultaat niet correct is. Kun je alle output laten zien?

Controleer ook met "ls /usr/local/bin/multimon*" - misschien is alles ok.
SDRPlay, USRP, ICR-8600

Offline tomo-dj

  • Gevorderd Lid
  • ***
  • Berichten: 106
    • 112PERS
Re: P2000 en Raspberry pi - Multimon-ng
« Reactie #11 Gepost op: 6 december 2017, 22:10:05 »
Thnx voor je reactie.

Hierbij;

pi@raspberrypi:~/multimon-ng/build $ qmake ../multimon-ng.pro
pi@raspberrypi:~/multimon-ng/build $ make
make: Er hoeft niets gedaan te worden voor 'first'.
pi@raspberrypi:~/multimon-ng/build $ "is /usr/local/bin/multimon*"
bash: is /usr/local/bin/multimon*: Bestand of map bestaat niet
Je eigen P2000 monitor? https://112PERS.nl
Lifeliners volgen? https://lifeliners.nl
Incidenten via Telegram? https://t.me/incidenten


Offline tomo-dj

  • Gevorderd Lid
  • ***
  • Berichten: 106
    • 112PERS
Re: P2000 en Raspberry pi - Multimon-ng
« Reactie #12 Gepost op: 6 december 2017, 22:29:32 »
Ondertussen heb ik het nog eens opnieuw geprobeerd, zie hier de output van "make";

pi@raspberrypi:~/multimon-ng/build $ qmake ../multimon-ng.pro
pi@raspberrypi:~/multimon-ng/build $ make
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o unixinput.o ../unixinput.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o uart.o ../uart.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o pocsag.o ../pocsag.c
../pocsag.c: In function ‘word_complete’:
../pocsag.c:723:29: warning: operation on ‘s->l2.pocsag.rx_bit’ may be undefined [-Wsequence-point]
     if((s->l2.pocsag.rx_bit = (++(s->l2.pocsag.rx_bit) % 32)))
                             ^
../pocsag.c: In function ‘do_one_bit’:
../pocsag.c:770:30: warning: operation on ‘s->l2.pocsag.rx_word’ may be undefined [-Wsequence-point]
         s->l2.pocsag.rx_word = ++(s->l2.pocsag.rx_word) % 17;
                              ^
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o selcall.o ../selcall.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o hdlc.o ../hdlc.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_zvei1.o ../demod_zvei1.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_zvei2.o ../demod_zvei2.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_zvei3.o ../demod_zvei3.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_pzvei.o ../demod_pzvei.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_dzvei.o ../demod_dzvei.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_ccir.o ../demod_ccir.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_eia.o ../demod_eia.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_eea.o ../demod_eea.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_ufsk12.o ../demod_ufsk12.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_poc24.o ../demod_poc24.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_poc12.o ../demod_poc12.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_poc5.o ../demod_poc5.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_hapn48.o ../demod_hapn48.c
../demod_hapn48.c: In function ‘hapn48_demod’:
../demod_hapn48.c:50:6: warning: variable ‘cursync’ set but not used [-Wunused-but-set-variable]
  int cursync;
      ^
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_fsk96.o ../demod_fsk96.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_dtmf.o ../demod_dtmf.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_clipfsk.o ../demod_clipfsk.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_fmsfsk.o ../demod_fmsfsk.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_afsk24.o ../demod_afsk24.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_afsk24_3.o ../demod_afsk24_3.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_afsk24_2.o ../demod_afsk24_2.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_afsk12.o ../demod_afsk12.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_flex.o ../demod_flex.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o BCHCode.o ../BCHCode.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o costabi.o ../costabi.c
../costabi.c:5:18: warning: ‘costabi’ initialized and declared ‘extern’
 extern const int costabi[0x400] = {
                  ^
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o costabf.o ../costabf.c
../costabf.c:5:20: warning: ‘costabf’ initialized and declared ‘extern’
 extern const float costabf[0x400] = {
                    ^
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o clip.o ../clip.c
../clip.c:393:13: warning: ‘disp_packet’ defined but not used [-Wunused-function]
 static void disp_packet(struct demod_state *s, unsigned char *bp, unsigned int len)
             ^
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o fms.o ../fms.c
../fms.c: In function ‘fms_disp_state’:
../fms.c:99:51: warning: unused parameter ‘service_id’ [-Wunused-parameter]
 static void fms_disp_state(uint8_t state, uint8_t service_id, uint8_t direction)
                                                   ^
../fms.c: In function ‘fms_disp_packet’:
../fms.c:259:13: warning: variable ‘crc’ set but not used [-Wunused-but-set-variable]
     uint8_t crc;         // Redundanz
             ^
../fms.c:256:13: warning: variable ‘model’ set but not used [-Wunused-but-set-variable]
     uint8_t model;       // Baustufenkennung
             ^
../fms.c: In function ‘fms_rxbit’:
../fms.c:360:57: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
                         s->l2.fmsfsk.rxbitstream = (msg ^ (1 << (i+16)) | 1); // lowest bit set means that the CRC has been corrected by us
                                                         ^
../fms.c: At top level:
../fms.c:176:13: warning: ‘fms_print_crc’ defined but not used [-Wunused-function]
 static void fms_print_crc(char crc[7]) {
             ^
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_eas.o ../demod_eas.c
../demod_eas.c:83:1: warning: variably modified ‘eascorr_mark_i’ at file scope
 static float eascorr_mark_i[CORRLEN];
 ^
../demod_eas.c:84:1: warning: variably modified ‘eascorr_mark_q’ at file scope
 static float eascorr_mark_q[CORRLEN];
 ^
../demod_eas.c:85:1: warning: variably modified ‘eascorr_space_i’ at file scope
 static float eascorr_space_i[CORRLEN];
 ^
../demod_eas.c:86:1: warning: variably modified ‘eascorr_space_q’ at file scope
 static float eascorr_space_q[CORRLEN];
 ^
../demod_eas.c: In function ‘eas_frame’:
../demod_eas.c:190:24: warning: passing argument 1 of ‘strrchr’ from incompatible pointer type
          ptr = strrchr(&s->l2.eas.msg_buf[s->l2.eas.msgno], '-');
                        ^
In file included from ../demod_eas.c:35:0:
/usr/include/string.h:263:14: note: expected ‘const char *’ but argument is of type ‘char (*)[269]’
 extern char *strrchr (const char *__s, int __c)
              ^
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_morse.o ../demod_morse.c
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_dumpcsv.o ../demod_dumpcsv.c
../demod_dumpcsv.c: In function ‘dumpcsv_demod’:
../demod_dumpcsv.c:41:8: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
  short p;
        ^
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o xdisplay.o ../xdisplay.c
../xdisplay.c: In function ‘predicate’:
../xdisplay.c:108:32: warning: unused parameter ‘display’ [-Wunused-parameter]
 static Bool predicate(Display *display, XEvent *event, char *arg)
                                ^
../xdisplay.c:108:49: warning: unused parameter ‘event’ [-Wunused-parameter]
 static Bool predicate(Display *display, XEvent *event, char *arg)
                                                 ^
../xdisplay.c:108:62: warning: unused parameter ‘arg’ [-Wunused-parameter]
 static Bool predicate(Display *display, XEvent *event, char *arg)
                                                              ^
gcc -c -pipe -std=gnu99 -g -O2 -Wall -W -DQT_WEBKIT -DMAX_VERBOSE_LEVEL=3 -DPULSE_AUDIO -DCHARSET_UTF8 -I/usr/share/qt4/mkspecs/linux-g++ -I../../multimon-ng -I../../multimon-ng -I. -o demod_display.o ../demod_display.c
../demod_display.c: In function ‘scope_demod’:
../demod_display.c:62:7: warning: assignment discards ‘const’ qualifier from pointer target type
   src = buffer.fbuffer+length-MEMSIZE;
       ^
../demod_display.c:69:7: warning: assignment discards ‘const’ qualifier from pointer target type
   src = buffer.fbuffer;
       ^
g++ -Wl,-O1 -o multimon-ng unixinput.o uart.o pocsag.o selcall.o hdlc.o demod_zvei1.o demod_zvei2.o demod_zvei3.o demod_pzvei.o demod_dzvei.o demod_ccir.o demod_eia.o demod_eea.o demod_ufsk12.o demod_poc24.o demod_poc12.o demod_poc5.o demod_hapn48.o demod_fsk96.o demod_dtmf.o demod_clipfsk.o demod_fmsfsk.o demod_afsk24.o demod_afsk24_3.o demod_afsk24_2.o demod_afsk12.o demod_flex.o BCHCode.o costabi.o costabf.o clip.o fms.o demod_eas.o demod_morse.o demod_dumpcsv.o xdisplay.o demod_display.o     -lX11 -lpulse-simple -lpulse
pi@raspberrypi:~/multimon-ng/build $
Je eigen P2000 monitor? https://112PERS.nl
Lifeliners volgen? https://lifeliners.nl
Incidenten via Telegram? https://t.me/incidenten


Offline DVE

  • Beginnend Lid
  • **
  • Berichten: 76
  • Embedded/Python/DSP developer
Re: P2000 en Raspberry pi - Multimon-ng
« Reactie #13 Gepost op: 7 december 2017, 15:52:22 »
Ik zie geen fouten, alleen waarschuwingen.
Het is mijn log:

git clone https://github.com/Zanoroy/multimon-ng.git
cd multimon-ng
mkdir build
cd build
cmake ..
make
sudo make install
- *** No rule to make target 'install'.  Stop.

Dus, install script werkt niet, maar ./multimon-ng werkt in "build" folder.
SDRPlay, USRP, ICR-8600

Offline tomo-dj

  • Gevorderd Lid
  • ***
  • Berichten: 106
    • 112PERS
Re: P2000 en Raspberry pi - Multimon-ng
« Reactie #14 Gepost op: 7 december 2017, 16:07:17 »
Ik zie dat aan jij "cmake .." uitvoert, dit resulteert bij mij in meer dan wat ik doe als ik de documentatie volg met "qmake ../multimon-ng.pro"

pi@raspberrypi:~ $ git clone https://github.com/Zanoroy/multimon-ng.git
Cloning into 'multimon-ng'...
remote: Counting objects: 666, done.
remote: Total 666 (delta 0), reused 0 (delta 0), pack-reused 666
Receiving objects: 100% (666/666), 2.56 MiB | 1.60 MiB/s, done.
Resolving deltas: 100% (409/409), done.
Checking connectivity... done.
pi@raspberrypi:~ $ cd multimon-ng
pi@raspberrypi:~/multimon-ng $ mkdir build
pi@raspberrypi:~/multimon-ng $ cd build
pi@raspberrypi:~/multimon-ng/build $ cmake ..
-- The C compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for XOpenDisplay in /usr/lib/arm-linux-gnueabihf/libX11.so;/usr/lib/arm-linux-gnueabihf/libXext.so
-- Looking for XOpenDisplay in /usr/lib/arm-linux-gnueabihf/libX11.so;/usr/lib/arm-linux-gnueabihf/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/arm-linux-gnueabihf/libX11.so
-- Performing Test USE_BUILTIN_POPCOUNT
-- Performing Test USE_BUILTIN_POPCOUNT - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/multimon-ng/build
pi@raspberrypi:~/multimon-ng/build $ make
Scanning dependencies of target multimon-ng
[  2%] Building C object CMakeFiles/multimon-ng.dir/xdisplay.c.o
/home/pi/multimon-ng/xdisplay.c: In function ‘predicate’:
/home/pi/multimon-ng/xdisplay.c:108:32: warning: unused parameter ‘display’ [-Wunused-parameter]
 static Bool predicate(Display *display, XEvent *event, char *arg)
                                ^
/home/pi/multimon-ng/xdisplay.c:108:49: warning: unused parameter ‘event’ [-Wunused-parameter]
 static Bool predicate(Display *display, XEvent *event, char *arg)
                                                 ^
/home/pi/multimon-ng/xdisplay.c:108:62: warning: unused parameter ‘arg’ [-Wunused-parameter]
 static Bool predicate(Display *display, XEvent *event, char *arg)
                                                              ^
[  5%] Building C object CMakeFiles/multimon-ng.dir/demod_display.c.o
/home/pi/multimon-ng/demod_display.c: In function ‘scope_demod’:
/home/pi/multimon-ng/demod_display.c:62:7: warning: assignment discards ‘const’ qualifier from pointer target type
   src = buffer.fbuffer+length-MEMSIZE;
       ^
/home/pi/multimon-ng/demod_display.c:69:7: warning: assignment discards ‘const’ qualifier from pointer target type
   src = buffer.fbuffer;
       ^
[  7%] Building C object CMakeFiles/multimon-ng.dir/unixinput.c.o
[ 10%] Building C object CMakeFiles/multimon-ng.dir/uart.c.o
[ 13%] Building C object CMakeFiles/multimon-ng.dir/pocsag.c.o
/home/pi/multimon-ng/pocsag.c: In function ‘word_complete’:
/home/pi/multimon-ng/pocsag.c:723:29: warning: operation on ‘s->l2.pocsag.rx_bit’ may be undefined [-Wsequence-point]
     if((s->l2.pocsag.rx_bit = (++(s->l2.pocsag.rx_bit) % 32)))
                             ^
/home/pi/multimon-ng/pocsag.c: In function ‘do_one_bit’:
/home/pi/multimon-ng/pocsag.c:770:30: warning: operation on ‘s->l2.pocsag.rx_word’ may be undefined [-Wsequence-point]
         s->l2.pocsag.rx_word = ++(s->l2.pocsag.rx_word) % 17;
                              ^
[ 15%] Building C object CMakeFiles/multimon-ng.dir/selcall.c.o
[ 18%] Building C object CMakeFiles/multimon-ng.dir/hdlc.c.o
[ 21%] Building C object CMakeFiles/multimon-ng.dir/demod_zvei1.c.o
[ 23%] Building C object CMakeFiles/multimon-ng.dir/demod_zvei2.c.o
[ 26%] Building C object CMakeFiles/multimon-ng.dir/demod_zvei3.c.o
[ 28%] Building C object CMakeFiles/multimon-ng.dir/demod_pzvei.c.o
[ 31%] Building C object CMakeFiles/multimon-ng.dir/demod_dzvei.c.o
[ 34%] Building C object CMakeFiles/multimon-ng.dir/demod_ccir.c.o
[ 36%] Building C object CMakeFiles/multimon-ng.dir/demod_eia.c.o
[ 39%] Building C object CMakeFiles/multimon-ng.dir/demod_eea.c.o
[ 42%] Building C object CMakeFiles/multimon-ng.dir/demod_ufsk12.c.o
[ 44%] Building C object CMakeFiles/multimon-ng.dir/demod_poc24.c.o
[ 47%] Building C object CMakeFiles/multimon-ng.dir/demod_poc12.c.o
[ 50%] Building C object CMakeFiles/multimon-ng.dir/demod_poc5.c.o
[ 52%] Building C object CMakeFiles/multimon-ng.dir/demod_hapn48.c.o
/home/pi/multimon-ng/demod_hapn48.c: In function ‘hapn48_demod’:
/home/pi/multimon-ng/demod_hapn48.c:50:6: warning: variable ‘cursync’ set but not used [-Wunused-but-set-variable]
  int cursync;
      ^
[ 55%] Building C object CMakeFiles/multimon-ng.dir/demod_fsk96.c.o
[ 57%] Building C object CMakeFiles/multimon-ng.dir/demod_dtmf.c.o
[ 60%] Building C object CMakeFiles/multimon-ng.dir/demod_clipfsk.c.o
[ 63%] Building C object CMakeFiles/multimon-ng.dir/demod_fmsfsk.c.o
[ 65%] Building C object CMakeFiles/multimon-ng.dir/demod_afsk24.c.o
[ 68%] Building C object CMakeFiles/multimon-ng.dir/demod_afsk24_3.c.o
[ 71%] Building C object CMakeFiles/multimon-ng.dir/demod_afsk24_2.c.o
[ 73%] Building C object CMakeFiles/multimon-ng.dir/demod_afsk12.c.o
[ 76%] Building C object CMakeFiles/multimon-ng.dir/demod_flex.c.o
[ 78%] Building C object CMakeFiles/multimon-ng.dir/BCHCode.c.o
[ 81%] Building C object CMakeFiles/multimon-ng.dir/costabi.c.o
/home/pi/multimon-ng/costabi.c:5:18: warning: ‘costabi’ initialized and declared ‘extern’
 extern const int costabi[0x400] = {
                  ^
[ 84%] Building C object CMakeFiles/multimon-ng.dir/costabf.c.o
/home/pi/multimon-ng/costabf.c:5:20: warning: ‘costabf’ initialized and declared ‘extern’
 extern const float costabf[0x400] = {
                    ^
[ 86%] Building C object CMakeFiles/multimon-ng.dir/clip.c.o
/home/pi/multimon-ng/clip.c:393:13: warning: ‘disp_packet’ defined but not used [-Wunused-function]
 static void disp_packet(struct demod_state *s, unsigned char *bp, unsigned int len)
             ^
[ 89%] Building C object CMakeFiles/multimon-ng.dir/fms.c.o
/home/pi/multimon-ng/fms.c: In function ‘fms_disp_state’:
/home/pi/multimon-ng/fms.c:99:51: warning: unused parameter ‘service_id’ [-Wunused-parameter]
 static void fms_disp_state(uint8_t state, uint8_t service_id, uint8_t direction)
                                                   ^
/home/pi/multimon-ng/fms.c: In function ‘fms_disp_packet’:
/home/pi/multimon-ng/fms.c:259:13: warning: variable ‘crc’ set but not used [-Wunused-but-set-variable]
     uint8_t crc;         // Redundanz
             ^
/home/pi/multimon-ng/fms.c:256:13: warning: variable ‘model’ set but not used [-Wunused-but-set-variable]
     uint8_t model;       // Baustufenkennung
             ^
/home/pi/multimon-ng/fms.c: In function ‘fms_rxbit’:
/home/pi/multimon-ng/fms.c:360:57: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
                         s->l2.fmsfsk.rxbitstream = (msg ^ (1 << (i+16)) | 1); // lowest bit set means that the CRC has been corrected by us
                                                         ^
/home/pi/multimon-ng/fms.c: At top level:
/home/pi/multimon-ng/fms.c:176:13: warning: ‘fms_print_crc’ defined but not used [-Wunused-function]
 static void fms_print_crc(char crc[7]) {
             ^
[ 92%] Building C object CMakeFiles/multimon-ng.dir/demod_eas.c.o
/home/pi/multimon-ng/demod_eas.c:83:1: warning: variably modified ‘eascorr_mark_i’ at file scope
 static float eascorr_mark_i[CORRLEN];
 ^
/home/pi/multimon-ng/demod_eas.c:84:1: warning: variably modified ‘eascorr_mark_q’ at file scope
 static float eascorr_mark_q[CORRLEN];
 ^
/home/pi/multimon-ng/demod_eas.c:85:1: warning: variably modified ‘eascorr_space_i’ at file scope
 static float eascorr_space_i[CORRLEN];
 ^
/home/pi/multimon-ng/demod_eas.c:86:1: warning: variably modified ‘eascorr_space_q’ at file scope
 static float eascorr_space_q[CORRLEN];
 ^
/home/pi/multimon-ng/demod_eas.c: In function ‘eas_frame’:
/home/pi/multimon-ng/demod_eas.c:190:24: warning: passing argument 1 of ‘strrchr’ from incompatible pointer type
          ptr = strrchr(&s->l2.eas.msg_buf[s->l2.eas.msgno], '-');
                        ^
In file included from /home/pi/multimon-ng/demod_eas.c:35:0:
/usr/include/string.h:263:14: note: expected ‘const char *’ but argument is of type ‘char (*)[269]’
 extern char *strrchr (const char *__s, int __c)
              ^
[ 94%] Building C object CMakeFiles/multimon-ng.dir/demod_morse.c.o
[ 97%] Building C object CMakeFiles/multimon-ng.dir/demod_dumpcsv.c.o
/home/pi/multimon-ng/demod_dumpcsv.c: In function ‘dumpcsv_demod’:
/home/pi/multimon-ng/demod_dumpcsv.c:41:8: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
  short p;
        ^
[100%] Linking C executable multimon-ng
[100%] Built target multimon-ng
pi@raspberrypi:~/multimon-ng/build $ sudo make install
make: *** Er is geen regel om doel 'install' te maken.  Gestopt.
pi@raspberrypi:~/multimon-ng/build $
Je eigen P2000 monitor? https://112PERS.nl
Lifeliners volgen? https://lifeliners.nl
Incidenten via Telegram? https://t.me/incidenten