g4klx / MMDVMHost

The host program for the MMDVM
GNU General Public License v2.0
371 stars 270 forks source link

MMDVMHost with mmdvm-sdr #727

Open eroyzman opened 2 years ago

eroyzman commented 2 years ago

hi, recently I found a great article about getting information from DMR signals from Wireshark (https://kd9cpb.com/dmr-wireshark) and using my SDR instead of spot. for this, I also found another article (http://qradiolink.org/using-a-sdr-device-as-mmdvm-digital-voice-hotspot.html). but after a run of the MMDVMHost I have some errors

gnuradio@flinn (master*):~/MMDVMHost >> sudo ./MMDVMHost MMDVM.ini I: 2021-11-23 17:22:45.316 This software is for use on amateur radio networks only, I: 2021-11-23 17:22:45.316 it is to be used for educational purposes only. Its use on I: 2021-11-23 17:22:45.316 commercial networks is strictly prohibited. I: 2021-11-23 17:22:45.316 Copyright(C) 2015-2021 by Jonathan Naylor, G4KLX and others M: 2021-11-23 17:22:45.316 MMDVMHost-20210921 is starting M: 2021-11-23 17:22:45.316 Built 17:17:27 Nov 23 2021 (GitID #18823b6) I: 2021-11-23 17:22:45.316 General Parameters I: 2021-11-23 17:22:45.316 Callsign: G9BF I: 2021-11-23 17:22:45.316 Id: 123456 I: 2021-11-23 17:22:45.316 Duplex: yes I: 2021-11-23 17:22:45.316 Timeout: 180s I: 2021-11-23 17:22:45.316 D-Star: enabled I: 2021-11-23 17:22:45.316 DMR: enabled I: 2021-11-23 17:22:45.316 YSF: enabled I: 2021-11-23 17:22:45.316 P25: enabled I: 2021-11-23 17:22:45.316 NXDN: enabled I: 2021-11-23 17:22:45.316 M17: enabled I: 2021-11-23 17:22:45.316 POCSAG: enabled I: 2021-11-23 17:22:45.316 FM: enabled I: 2021-11-23 17:22:45.316 AX.25: enabled I: 2021-11-23 17:22:45.316 Modem Parameters I: 2021-11-23 17:22:45.316 Protocol: uart I: 2021-11-23 17:22:45.316 UART Port: /home/gnuradio/mmdvm-sdr/build/ttyMMDVM0 I: 2021-11-23 17:22:45.316 UART Speed: 460800 I: 2021-11-23 17:22:45.316 RX Invert: yes I: 2021-11-23 17:22:45.316 TX Invert: yes I: 2021-11-23 17:22:45.316 PTT Invert: no I: 2021-11-23 17:22:45.316 TX Delay: 100ms I: 2021-11-23 17:22:45.316 RX Offset: 0Hz I: 2021-11-23 17:22:45.316 TX Offset: 0Hz I: 2021-11-23 17:22:45.316 RX DC Offset: 0 I: 2021-11-23 17:22:45.316 TX DC Offset: 0 I: 2021-11-23 17:22:45.316 RF Level: 100.0% I: 2021-11-23 17:22:45.316 DMR Delay: 0 (0.0ms) I: 2021-11-23 17:22:45.316 RX Level: 50.0% I: 2021-11-23 17:22:45.316 CW Id TX Level: 50.0% I: 2021-11-23 17:22:45.316 D-Star TX Level: 50.0% I: 2021-11-23 17:22:45.316 DMR TX Level: 50.0% I: 2021-11-23 17:22:45.316 YSF TX Level: 50.0% I: 2021-11-23 17:22:45.316 P25 TX Level: 50.0% I: 2021-11-23 17:22:45.316 NXDN TX Level: 50.0% I: 2021-11-23 17:22:45.316 M17 TX Level: 50.0% I: 2021-11-23 17:22:45.316 POCSAG TX Level: 50.0% I: 2021-11-23 17:22:45.316 FM TX Level: 50.0% I: 2021-11-23 17:22:45.316 AX.25 TX Level: 50.0% I: 2021-11-23 17:22:45.316 TX Frequency: 435000000Hz (435000000Hz) I: 2021-11-23 17:22:45.316 Use COS as Lockout: no I: 2021-11-23 17:22:45.316 FM Parameters I: 2021-11-23 17:22:45.316 Callsign: G9BF I: 2021-11-23 17:22:45.316 Callsign Speed: 20WPM I: 2021-11-23 17:22:45.316 Callsign Frequency: 1000Hz I: 2021-11-23 17:22:45.316 Callsign Time: 10mins I: 2021-11-23 17:22:45.316 Callsign Holdoff: 1/0 I: 2021-11-23 17:22:45.316 Callsign High Level: 50.0% I: 2021-11-23 17:22:45.316 Callsign Low Level: 20.0% I: 2021-11-23 17:22:45.316 Callsign At Start: yes I: 2021-11-23 17:22:45.316 Callsign At End: yes I: 2021-11-23 17:22:45.316 Callsign At Latch: no I: 2021-11-23 17:22:45.316 RF Ack: K I: 2021-11-23 17:22:45.316 Ack Speed: 20WPM I: 2021-11-23 17:22:45.316 Ack Frequency: 1750Hz I: 2021-11-23 17:22:45.316 Ack Min Time: 4s I: 2021-11-23 17:22:45.316 Ack Delay: 1000ms I: 2021-11-23 17:22:45.316 Ack Level: 50.0% I: 2021-11-23 17:22:45.316 Timeout: 180s I: 2021-11-23 17:22:45.316 Timeout Level: 80.0% I: 2021-11-23 17:22:45.316 CTCSS Frequency: 88.4Hz I: 2021-11-23 17:22:45.316 CTCSS High Threshold: 30 I: 2021-11-23 17:22:45.316 CTCSS Low Threshold: 30 I: 2021-11-23 17:22:45.316 CTCSS Level: 20.0% I: 2021-11-23 17:22:45.316 Kerchunk Time: 0s I: 2021-11-23 17:22:45.316 Hang Time: 7s I: 2021-11-23 17:22:45.316 Access Mode: 1 I: 2021-11-23 17:22:45.316 Link Mode: no I: 2021-11-23 17:22:45.316 COS Invert: no I: 2021-11-23 17:22:45.316 Noise Squelch: no I: 2021-11-23 17:22:45.316 RF Audio Boost: x1 I: 2021-11-23 17:22:45.316 Max. Deviation Level: 90.0% I: 2021-11-23 17:22:45.316 Mode Hang: 10s I: 2021-11-23 17:22:45.316 Ext. Ack: N I: 2021-11-23 17:22:45.316 Ext. Audio Boost: x1 M: 2021-11-23 17:22:45.316 Opening the MMDVM E: 2021-11-23 17:22:45.316 Cannot open device - /home/gnuradio/mmdvm-sdr/build/ttyMMDVM0

Could you help me with this, I see that code changed from the last commit of mmdvm-sdr and some instructions doesn't work (like change argument for m_serial(port, SERIAL_115200, true) from the true to false), maybe I need to back to the previous version or something like that.

Also, I wanted to ask is it possible to use IQ records instead of SDR, like signal source, in this case instead PlutoSDR (https://github.com/r4d10n/mmdvm-sdr/tree/master/gr-mmdvm).

thanks

BotoX commented 2 years ago

change true to false here: https://github.com/g4klx/MMDVMHost/blob/4b864661a7d4807531d21d9c449550c4ccd2d35d/MMDVMHost.cpp#L1472

and I've had to set Duplex=0 for my rtl-sdr