¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Test results

 

2nd update:


Answer Mode

------------------------------------------------------------------------

This parameter allows you to set the mode of answering the private call.


Option Description

* FOACSU: The called party needs to answer the call manually. The
calling party must wait before the called party answers the call.
* OACSU: The called party answers the call without any operation.


Default

FOACSU


Note

This parameter is available only for PD98X(i) and mobile radio supporting full duplex feature


I have a 755 here, so no FOACSU.


Am 10.07.2024 um 20:08 schrieb nospam.groupsio@...:

Update:

Two radios with different DMR IDs connectd to same dmrtc can do private calls.

Private call from radio on dmrtc to brandmeister tier ii doesn't work. Trunking-Radio looks like call established, but nothing arrives on brandmeister radio.

SMS between two radios on same dmrtc works.

SMS from dmrtc to brandmeister fails: "Sending Message...." -> "Send failed" (pressed PTT on target radio connected to brandmeister Tier II first to make sure that brandmeister knows where the other radio is)


Am 10.07.2024 um 17:18 schrieb nospam.groupsio@...:
Hello Adrian,

Thanks for updating the docs.

I can confirm that -h works - stupid error on my side.

My trunk mode repeater is running for evereral days now and only once needed a restart for unknown reason.

Roaming between two tier II repeaters (DB0BR/DM0BT) here in Bayreuth and my Tier III repeater at home works flawlessly.

Registraration: ok

Talkgroup Attachment works. I programmed button TK1 with "Scan Group List" to get rid of annoying ongoing background calls if I want to talk on my selected talkgroup. Unfortunately, I cannot find any indication in the UI of the radio if the scan group list feature is on or off. In dmrtc, you can see additional TGs being subscribed once the feature is active.

I have make quite a few QSOs with a local OM working on a Brandmeister DMR repeater near Kulmbach - works flawlessly.

Private Voice calls: Had not yet had an opportunity for thourough testing. The terms OACSU and FOACSU are nowhere to be found in my CPS.

I did test a lot calling 9990 on brandmeister. I can say that this only works sometimes, but unreliably, and usually with very bad audio quality. weird.

SMS: No test yet. Try to send me one: DB9CR, my device is logged in most of the time I am at home in homeoffice.

Also the rest of the items still needs some testing.

I did have a chat with Ralph DK5RAS - he pointed me to

Seems to me that this could completey replace the ugly^h^h^h^hcreative :-) multi DMRgatway setup. Technically it's probably a SIP trunk with AMBE2 codec, but I did not have a chance to look at the relevant original DMRA paper (). Will try to dig deeper into this. Also, having a generic SIP implentation could make it possible to attach to an asterisk VOIP server - we have one here on db0bt.ampr.org in the HAMNET.

73 Christian DB9CR

Am 10.07.2024 um 10:10 schrieb Adrian M:
Hello Christian,

I've fixed all documentation bugs now hopefully, and also added a
troubleshooting guide based on our conversation.

Can you confirm that your below issue with headless mode does not exist when
using the "-h" option?
Also, it would be great if you could report which of the below features work
on your radio so I can add it to the radio compatibility matrix.

registration
talkgroup attachment
group voice calls
private voice calls (OACSU and FOACSU)
short text messages
call divert
voice with location
DGNA
status transfer service,
authentication
hunting in fixed or flexible channel plans
NMEA location polling via UDT

Best regards,
Adrian

On Tuesday, 2 July 2024 09:32:35 EEST you wrote:
On Tuesday, 2 July 2024 08:28:34 EEST you wrote:
Hello Adrian,

while dmrtc has a headless mode, it seems that still, a connection to an
X11 server is needed to start:

db9cr@tmo:~/software$ ( cd dmrtc/build ; DISPLAY= ./dmrtc )
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even
though it was found.
Hello Christian,
I don't see anywhere the "-h" option when you start it headless.
You can omit the DISPLAY variable when using "-h".

Adrian











Re: Test results

 

Update:

Two radios with different DMR IDs connectd to same dmrtc can do private calls.

Private call from radio on dmrtc to brandmeister tier ii doesn't work. Trunking-Radio looks like call established, but nothing arrives on brandmeister radio.

SMS between two radios on same dmrtc works.

SMS from dmrtc to brandmeister fails: "Sending Message...." -> "Send failed" (pressed PTT on target radio connected to brandmeister Tier II first to make sure that brandmeister knows where the other radio is)


Am 10.07.2024 um 17:18 schrieb nospam.groupsio@...:

Hello Adrian,

Thanks for updating the docs.

I can confirm that -h works - stupid error on my side.

My trunk mode repeater is running for evereral days now and only once needed a restart for unknown reason.

Roaming between two tier II repeaters (DB0BR/DM0BT) here in Bayreuth and my Tier III repeater at home works flawlessly.

Registraration: ok

Talkgroup Attachment works. I programmed button TK1 with "Scan Group List" to get rid of annoying ongoing background calls if I want to talk on my selected talkgroup. Unfortunately, I cannot find any indication in the UI of the radio if the scan group list feature is on or off. In dmrtc, you can see additional TGs being subscribed once the feature is active.

I have make quite a few QSOs with a local OM working on a Brandmeister DMR repeater near Kulmbach - works flawlessly.

Private Voice calls: Had not yet had an opportunity for thourough testing. The terms OACSU and FOACSU are nowhere to be found in my CPS.

I did test a lot calling 9990 on brandmeister. I can say that this only works sometimes, but unreliably, and usually with very bad audio quality. weird.

SMS: No test yet. Try to send me one: DB9CR, my device is logged in most of the time I am at home in homeoffice.

Also the rest of the items still needs some testing.

I did have a chat with Ralph DK5RAS - he pointed me to

Seems to me that this could completey replace the ugly^h^h^h^hcreative :-) multi DMRgatway setup. Technically it's probably a SIP trunk with AMBE2 codec, but I did not have a chance to look at the relevant original DMRA paper (). Will try to dig deeper into this. Also, having a generic SIP implentation could make it possible to attach to an asterisk VOIP server - we have one here on db0bt.ampr.org in the HAMNET.

73 Christian DB9CR

Am 10.07.2024 um 10:10 schrieb Adrian M:
Hello Christian,

I've fixed all documentation bugs now hopefully, and also added a
troubleshooting guide based on our conversation.

Can you confirm that your below issue with headless mode does not exist when
using the "-h" option?
Also, it would be great if you could report which of the below features work
on your radio so I can add it to the radio compatibility matrix.

registration
talkgroup attachment
group voice calls
private voice calls (OACSU and FOACSU)
short text messages
call divert
voice with location
DGNA
status transfer service,
authentication
hunting in fixed or flexible channel plans
NMEA location polling via UDT

Best regards,
Adrian

On Tuesday, 2 July 2024 09:32:35 EEST you wrote:
On Tuesday, 2 July 2024 08:28:34 EEST you wrote:
Hello Adrian,

while dmrtc has a headless mode, it seems that still, a connection to an
X11 server is needed to start:

db9cr@tmo:~/software$ ( cd dmrtc/build ; DISPLAY= ./dmrtc )
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even
though it was found.
Hello Christian,
I don't see anywhere the "-h" option when you start it headless.
You can omit the DISPLAY variable when using "-h".

Adrian











Re: dmrtc headless mode

 

Hello Adrian,

Thanks for updating the docs.

I can confirm that -h works - stupid error on my side.

My trunk mode repeater is running for evereral days now and only once needed a restart for unknown reason.

Roaming between two tier II repeaters (DB0BR/DM0BT) here in Bayreuth and my Tier III repeater at home works flawlessly.

Registraration: ok

Talkgroup Attachment works. I programmed button TK1 with "Scan Group List" to get rid of annoying ongoing background calls if I want to talk on my selected talkgroup. Unfortunately, I cannot find any indication in the UI of the radio if the scan group list feature is on or off. In dmrtc, you can see additional TGs being subscribed once the feature is active.

I have make quite a few QSOs with a local OM working on a Brandmeister DMR repeater near Kulmbach - works flawlessly.

Private Voice calls: Had not yet had an opportunity for thourough testing. The terms OACSU and FOACSU are nowhere to be found in my CPS.

I did test a lot calling 9990 on brandmeister. I can say that this only works sometimes, but unreliably, and usually with very bad audio quality. weird.

SMS: No test yet. Try to send me one: DB9CR, my device is logged in most of the time I am at home in homeoffice.

Also the rest of the items still needs some testing.

I did have a chat with Ralph DK5RAS - he pointed me to

Seems to me that this could completey replace the ugly^h^h^h^hcreative :-) multi DMRgatway setup. Technically it's probably a SIP trunk with AMBE2 codec, but I did not have a chance to look at the relevant original DMRA paper (). Will try to dig deeper into this. Also, having a generic SIP implentation could make it possible to attach to an asterisk VOIP server - we have one here on db0bt.ampr.org in the HAMNET.

73 Christian DB9CR

Am 10.07.2024 um 10:10 schrieb Adrian M:

Hello Christian,

I've fixed all documentation bugs now hopefully, and also added a
troubleshooting guide based on our conversation.

Can you confirm that your below issue with headless mode does not exist when
using the "-h" option?
Also, it would be great if you could report which of the below features work
on your radio so I can add it to the radio compatibility matrix.

registration
talkgroup attachment
group voice calls
private voice calls (OACSU and FOACSU)
short text messages
call divert
voice with location
DGNA
status transfer service,
authentication
hunting in fixed or flexible channel plans
NMEA location polling via UDT

Best regards,
Adrian

On Tuesday, 2 July 2024 09:32:35 EEST you wrote:
On Tuesday, 2 July 2024 08:28:34 EEST you wrote:
Hello Adrian,

while dmrtc has a headless mode, it seems that still, a connection to an
X11 server is needed to start:

db9cr@tmo:~/software$ ( cd dmrtc/build ; DISPLAY= ./dmrtc )
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even
though it was found.
Hello Christian,
I don't see anywhere the "-h" option when you start it headless.
You can omit the DISPLAY variable when using "-h".

Adrian











Re: dmrtc headless mode

 

Hello Christian,

I've fixed all documentation bugs now hopefully, and also added a
troubleshooting guide based on our conversation.

Can you confirm that your below issue with headless mode does not exist when
using the "-h" option?
Also, it would be great if you could report which of the below features work
on your radio so I can add it to the radio compatibility matrix.

registration
talkgroup attachment
group voice calls
private voice calls (OACSU and FOACSU)
short text messages
call divert
voice with location
DGNA
status transfer service,
authentication
hunting in fixed or flexible channel plans
NMEA location polling via UDT

Best regards,
Adrian

On Tuesday, 2 July 2024 09:32:35 EEST you wrote:
On Tuesday, 2 July 2024 08:28:34 EEST you wrote:
Hello Adrian,

while dmrtc has a headless mode, it seems that still, a connection to an
X11 server is needed to start:

db9cr@tmo:~/software$ ( cd dmrtc/build ; DISPLAY= ./dmrtc )
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even
though it was found.
Hello Christian,
I don't see anywhere the "-h" option when you start it headless.
You can omit the DISPLAY variable when using "-h".

Adrian






Re: dmrtc headless mode

 

On Tuesday, 2 July 2024 08:28:34 EEST you wrote:
Hello Adrian,

while dmrtc has a headless mode, it seems that still, a connection to an
X11 server is needed to start:

db9cr@tmo:~/software$ ( cd dmrtc/build ; DISPLAY= ./dmrtc )
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even
though it was found.
Hello Christian,
I don't see anywhere the "-h" option when you start it headless.
You can omit the DISPLAY variable when using "-h".

Adrian


Re: DMR Trunking: Hytera PD755 Stuck in "Out of Range"

 

Hello Adrian,

that explains it. Thanks!

73 Christian DB9CR

Am 01.07.2024 um 10:04 schrieb Adrian M:

On Saturday, 29 June 2024 19:28:55 EEST you wrote:
Hello Adrian,

I changed:

DMRDelay to 0 <---- this needs fixing in the documentation!
I'm glad it finally works ok for you. I will fix the documentation bugs and add
some new sections based on this email thread as soon as possible.

Regarding the routing to DMRGateway:
Incoming calls from the network side do not need any routing, they will
automatically be picked up by dmrtc and distributed correctly on the allocated
payload channel on a timeslot chosen by the controller.

For calls outgoing from RF towards the network, you need to use the settings
tab "Talkgroup gateway routing".
Add a new line for each talkgroup that needs to be routed to each DMRGateway.
You should define the talkgroups as static in the network Options or in
Brandmeister interface so you always get traffic from them since you have
capacity for 13 calls at the same time.

Let's say you have this setup:

DMRGateway #1:
connection 1: TG262 - slot 1, TG2621 slot 2
....
connection 5: TG2622 slot 1, TG2623 slot 2

DMRGateway #2:
connection 1: TG91 slot 1, TG 92 slot 2
....
connection 5: TG235 slot 1, TG 2351 slot 2

Then you need to set which DMRGateway to use for which outgoing talkgroups in
dmrtc.
Gateway number starts at 0 in dmrtc. If the TG always goes out to Gateway 0,
you may ignore it (not add it in dmrtc since 0 is default), or you may add it
also for clarity in the settings as you wish.

In this example:
262 -> Gateway 0
2621 -> Gateway 0
etc.

91 -> Gateway 1
92 -> Gateway 1
235 -> Gateway 1
2351 -> Gateway 1
etc.

In case you need to set the same TG number on two different networks, let's say
you have 91 on Brandmeister and also 91 on DMR+ or whatever.
Then you configure DMRGateway to rewrite 91 to 1000091, then in dmrtc you have:

91 -> Gateway 1
1000091 -> Gateway 2

depending of course on which connection and DMRGateway you use for each TG
(DMRGateway has something like 5 or 6 connection options, you may use all of
them on the same network or mix different networks).

Of course, the radio should have the TG 1000091 programmed for that rewritten
TG.
Any timeslot rewriting has to be done in the DMRGateway config. So if you want
to rewrite 91 to always go out on timeslot 1, add a rule in that
DMRGateway.conf.
Otherwise your calls will go out sometimes on TS1 other times on TS2 which you
probably don't want if you have static TGs.
Unfortunately I can' provide an example DMRGateway config now, but maybe next
week as I'm away from home.

Hope this makes sense.

Adrian






dmrtc headless mode

 

Hello Adrian,

while dmrtc has a headless mode, it seems that still, a connection to an X11 server is needed to start:

db9cr@tmo:~/software$ ( cd dmrtc/build ; DISPLAY= ./dmrtc )
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

db9cr@tmo:~/software$ grep headless ~/.config/dmrtc/dmrtc.cfg
headless_mode = 1;

In headless mode, dmrtc should be able to start as a daemon without an X11 display available.

73 Christian DB9CR


Re: DMR Trunking: Hytera PD755 Stuck in "Out of Range"

 

On Saturday, 29 June 2024 19:28:55 EEST you wrote:
Hello Adrian,

I changed:

DMRDelay to 0 <---- this needs fixing in the documentation!
I'm glad it finally works ok for you. I will fix the documentation bugs and add
some new sections based on this email thread as soon as possible.

Regarding the routing to DMRGateway:
Incoming calls from the network side do not need any routing, they will
automatically be picked up by dmrtc and distributed correctly on the allocated
payload channel on a timeslot chosen by the controller.

For calls outgoing from RF towards the network, you need to use the settings
tab "Talkgroup gateway routing".
Add a new line for each talkgroup that needs to be routed to each DMRGateway.
You should define the talkgroups as static in the network Options or in
Brandmeister interface so you always get traffic from them since you have
capacity for 13 calls at the same time.

Let's say you have this setup:

DMRGateway #1:
connection 1: TG262 - slot 1, TG2621 slot 2
....
connection 5: TG2622 slot 1, TG2623 slot 2

DMRGateway #2:
connection 1: TG91 slot 1, TG 92 slot 2
....
connection 5: TG235 slot 1, TG 2351 slot 2

Then you need to set which DMRGateway to use for which outgoing talkgroups in
dmrtc.
Gateway number starts at 0 in dmrtc. If the TG always goes out to Gateway 0,
you may ignore it (not add it in dmrtc since 0 is default), or you may add it
also for clarity in the settings as you wish.

In this example:
262 -> Gateway 0
2621 -> Gateway 0
etc.

91 -> Gateway 1
92 -> Gateway 1
235 -> Gateway 1
2351 -> Gateway 1
etc.

In case you need to set the same TG number on two different networks, let's say
you have 91 on Brandmeister and also 91 on DMR+ or whatever.
Then you configure DMRGateway to rewrite 91 to 1000091, then in dmrtc you have:

91 -> Gateway 1
1000091 -> Gateway 2

depending of course on which connection and DMRGateway you use for each TG
(DMRGateway has something like 5 or 6 connection options, you may use all of
them on the same network or mix different networks).

Of course, the radio should have the TG 1000091 programmed for that rewritten
TG.
Any timeslot rewriting has to be done in the DMRGateway config. So if you want
to rewrite 91 to always go out on timeslot 1, add a rule in that
DMRGateway.conf.
Otherwise your calls will go out sometimes on TS1 other times on TS2 which you
probably don't want if you have static TGs.
Unfortunately I can' provide an example DMRGateway config now, but maybe next
week as I'm away from home.

Hope this makes sense.

Adrian


Re: DMR Trunking: Hytera PD755 Stuck in "Out of Range"

 

Hello Adrian,

I changed:

DMRDelay to 0 <---- this needs fixing in the documentation!

burst_delay_msec? to 60

Control Channel back to channel zero.

Registration now works reliably. Also, triggering and transmitting voice with the Tier II Anytone works reliably on all frequencies. Welcome SMS, Ping Radio, Send message to all/to radio all work.

Also direct and group calls work now.

Thank you very much, big progress!

If you have some time, some insights in the documentation about the logic by which incoming and outgoing calls are distributed over the DMRGateways would be very much appreciated.

Christian DB9CR


Re: DMR Trunking: Hytera PD755 Stuck in "Out of Range"

 

Hi again Christian,

I suspect your issues with channel access might be related to the DMRDelay
setting. I'm not able to confirm right now, but I just checked the docs and it
seems they (wrongly) mention a value of 90. It should be zero I think instead,
so please try with this value on very MMDVM instance.

As far as using a different channel for the TSCC, this is not supported yet in
dmrtc, so the best thing is just to leave "Control channel physical id" to
zero and use the RF channel 1 for the control channel (if the DMRDelay set to
zero solves your problems).
If you use a LimeSDR-mini, you can try reducing burst_delay_msec to about
60-80, that will shave off some latency.

Finally, please update the MMDVM and MMDVMHost code, I've pushed a fix last
week to allow setting CallHang to zero and avoid latency build-up.

Adrian

On Saturday, 29 June 2024 13:03:48 EEST you wrote:
Hello Adrian,

my setup is still not working, but after a lot of testing, I have some
insights - maybe that rings a bell?

- Sometimes, the Hytera radio is able to book into the dmrtc, but most
of the time not. I have not recoginzed a pattern and it's not reproducable.

- I tried to access the 7 channels with a Tier II Anytone Radio. On
channels 5-7 (below center), I can wake up the transmitter, and
MMDVMhost shows a lot of received and transmitted packets. The dmrtx
complains (Rejected local id ......., not registered with the site) ,
but on MMDVM level this is working. Also, channel 4 (the highest
frequency), _sometimes_ works. On Channel 1, no wakeup is needed, but
also I see no received DMR frames in the log when I press PTT on my
anytone. On Channel 2-3 and usually on 4 also, I only see that the
downlink was activated, but I do not see any packes being received
afterwards.

Reseach on the internet raises the suspicion that this could be related
to DMRDelay. But why should a different delay be needed for the
different channels?

I have DMRDelay=90 (and burst_delay_msec=100, if that's related).

As some channels work and others not, and the channel is aalways
ctivated, I would non suspect rx-/txgain-Problems.

- I tried to set the control channel to 7 in dmrtc and in the mmdvmhost
config file for channel 7. Magically, the registration works reliably in
this setup and I could switch between talkgroups.

- When booked in with the hytera and subscribed to tg91, the radio bings
and beeps all the time, but I cannot hear any voice transmissions from
TG91 on the Hytera. I do see TX data on channel 1 timeslot 1 .My
suspicion is that channel 1 TS1 is hardwired somewhere in dmrtc and/or
qradiolink, as it's carrier is always on and I cannot disable RF channel
1/Timeslot 1 in DMRTC, even when the control channel in on RF channel 7.

- Weirdly, I can partially hear TG91 being transmitted on my Anytone on
Channel 1 TS in monitor mode.

Any ideas how to make channels 1-4 receive reliably? It's unclear to me
what could be the difference to channels 5-7, that do receive reliably.

Thanks

Christian DB9CR




DMR Trunking: Hytera PD755 Stuck in "Out of Range"

 

Hello Adrian,

my setup is still not working, but after a lot of testing, I have some insights - maybe that rings a bell?

- Sometimes, the Hytera radio is able to book into the dmrtc, but most of the time not. I have not recoginzed a pattern and it's not reproducable.

- I tried to access the 7 channels with a Tier II Anytone Radio. On channels 5-7 (below center), I can wake up the transmitter, and MMDVMhost shows a lot of received and transmitted packets. The dmrtx complains (Rejected local id ......., not registered with the site) , but on MMDVM level this is working. Also, channel 4 (the highest frequency),? _sometimes_ works. On Channel 1, no wakeup is needed, but also I see no received DMR frames in the log when I press PTT on my anytone. On Channel 2-3 and usually on 4 also, I only see that the downlink was activated, but I do not see any packes being received afterwards.

Reseach on the internet raises the suspicion that this could be related to DMRDelay. But why should a different delay be needed for the different channels?

I have DMRDelay=90 (and burst_delay_msec=100, if that's related).

As some channels work and others not, and the channel is aalways ctivated, I would non suspect rx-/txgain-Problems.

- I tried to set the control channel to 7 in dmrtc and in the mmdvmhost config file for channel 7. Magically, the registration works reliably in this setup and I could switch between talkgroups.

- When booked in with the hytera and subscribed to tg91, the radio bings and beeps all the time, but I cannot hear any voice transmissions from TG91 on the Hytera. I do see TX data on channel 1 timeslot 1 .My suspicion is that channel 1 TS1 is hardwired somewhere in dmrtc and/or qradiolink, as it's carrier is always on and I cannot disable RF channel 1/Timeslot 1 in DMRTC, even when the control channel in on RF channel 7.

- Weirdly, I can partially hear TG91 being transmitted on my Anytone on Channel 1 TS in monitor mode.

Any ideas how to make channels 1-4 receive reliably? It's unclear to me what could be the difference to channels 5-7, that do receive reliably.

Thanks

Christian DB9CR


Re: DMR Trunking: Hytera PD755 Stuck in "Out of Range"

 

On Wednesday, 19 June 2024 08:25:23 EEST you wrote:

With the PD755 switched off, everthing is fine, with an FM radio I hear
continuous DMR signal on the output frequency of the SDR and dsd.fme can
decode it.
Oh I see, if there are no dropped packets everything is ok on this side.

The problem starts, wenn I switch on the PD755. Each time,
the PD755 tries to register (can hear the register packets with an FM
receiver on the input frequency of the SDR), there is a short
interruption in the TX stream of the SDR. Also, when I enable Debug in
MMDVMHost config, I never see decoded packets.
Most likely not an interruption, but the receiver used for dsd-fme is
momentarily overloaded by the nearby high-power transmission.
Reduce receiver gain to minimum possible, keep the radio further away with
power set to minimum possible.
In case of no decodes in MMDVM, before trying to adjust the RX frequency of
qradiolink, make sure RX gain in qradiolink is set to about 10 or below so
that the LNA is not overloaded if the radio is just a meter or two away from
the SDR (or add an attenuator in RX chain, remove RX antenna etc.).


Will have to investigate into calibration of the RX frequency first. Is
there a recommended way to do this in this scenario where nothing is
decoded at all?
The LimeSDR-mini being off-frequency by 1000 - 2000 Hz is considered normal
given the lower accuracy internal clock, so it will require adjustment if that
is the case (two options: rx_freq_corr and tx_freq_corr in config file, or just
tune higher or lower by X amount of Hz).

As for frequency calibration, there is no standard procedure (GPS timing sync
assumed by default), but you can do the following: using the same LimeSDR
receiver, open qradiolink in GUI mode (without --mmdvm switch), ensure gain
set to 10 or below (possibly remove antenna for more attenuation), ensure RX/
TX freq correction setting is zero, then transmit with the radio on any set
frequency in FM or DMR conventional mode, note on the spectrum display real
offset from transmitted signal, and use that info to adjust frequency via
settings in config (freq_corr) or remote command interface later in MMDVM mode.

Also, in MMDVM mode, verify demod_offset in config file is set to exactly
+/-12500 Hz for best results. If you adjust rx_frequency in the config file,
note that is the center frequency of the SDR, not the receiver frequency, so
you need to add demod_offset to the value to get the actual received frequency.
But it is best you change frequency from the remote command interface (tunerx
command) as calculations will be done automatically.


Thanks.

Christian DB9CR





Re: DMR Trunking: Hytera PD755 Stuck in "Out of Range"

 

Hello Adrian,

did some more debugging.

CPU resources are not a problem.

$ cat /proc/cpuinfo
processor?????? : 0
vendor_id?????? : GenuineIntel
cpu family????? : 6
model?????????? : 94
model name????? : Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz

[...]

4 cores, 4 threads

$ free -h
?????????????? total??????? used??????? free????? shared buff/cache?? available
Mem:??????????? 15Gi?????? 424Mi??????? 14Gi??????? 91Mi 503Mi??????? 14Gi
Swap:????????? 975Mi????????? 0B?????? 975Mi

Also, FIFO is fine all the time like this: TX|rate: 0.959531 MB/s |dropped packets: 0 |FIFO: 0%

With the PD755 switched off, everthing is fine, with an FM radio I hear continuous DMR signal on the output frequency of the SDR and dsd.fme can decode it. The problem starts, wenn I switch on the PD755. Each time, the PD755 tries to register (can hear the register packets with an FM receiver on the input frequency of the SDR), there is a short interruption in the TX stream of the SDR. Also, when I enable Debug in MMDVMHost config, I never see decoded packets.

Will have to investigate into calibration of the RX frequency first. Is there a recommended way to do this in this scenario where nothing is decoded at all?

Thanks.

Christian DB9CR


Re: DMR Trunking: Hytera PD755 Stuck in "Out of Range"

 

On Monday, 17 June 2024 22:22:58 EEST you wrote:
Hello Adrian,

as said - in the MMDVM section in your documentation, "git checkout
mmdvm_sdr" gives me the error 14.
Error 14 is due to the serial communication protocol between MMDVMHost and
MMDVM being slightly changed for trunking support. So the mmdvm_sdr branch is
not compatible with the trunking branch. Instead the trunking branches should
support everything the mmdvm_sdr branch does plus trunking protocol.

Adrian


Re: DMR Trunking: Hytera PD755 Stuck in "Out of Range"

 

On Monday, 17 June 2024 22:22:58 EEST you wrote:
Hello Adrian,

as said - in the MMDVM section in your documentation, "git checkout
mmdvm_sdr" gives me the error 14. "git checkout trunking" resolves error
14, but produces the interruptions in the control channel. Any ideas on
that?

Will let you know about the features, once I have it stabilized.

73 Christian DB9CR
The "trunking" branch should be used in both MMDVM-SDR and MMDVMHost-SDR.

I am not sure about the cause of the interruptions.
One thing to check for is that qradiolink is at the latest (0.8.13-2 or "next"
branch HEAD). What version of GNU Radio do you have on your machine? Also,
what are the machines specs (number of CPU/threads, CPU speed).
It would be helpful if you would monitor the output of "qradiolink --mmdv" in
the CLI and see if the FIFO utilization ever goes above 0% or if there are
dropped packets to the SDR.
In your case, it sounds like dropped packets for some reason.
Knowing the full software stack (GNU Radio, LimeSuite etc.) versions might be
useful.

Adrian


Re: DMR Trunking: Hytera PD755 Stuck in "Out of Range"

 

Hello Adrian,

as said -? in the MMDVM section in your documentation, "git checkout mmdvm_sdr" gives me the error 14. "git checkout trunking" resolves error 14, but produces the interruptions in the control channel. Any ideas on that?

Will let you know about the features, once I have it stabilized.

73 Christian DB9CR


Re: DMR Trunking: Hytera PD755 Stuck in "Out of Range"

 

Unfortunately, the solution was not permanent.

The signal on the control channel ist again interrupted 1-2 times per second.

In dsd-fme, messages are coming in blocks like this, with a short break between the blocks.

Even when reducing the number of channels to 2

C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?SLC_C_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Reg Req: 1; CSC: 1; SYS: 0009;
?Protected Control Signalling Block(s) (CRC ERR)
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?Protected Control Signalling Block(s) (CRC ERR)
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?SLC_C_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Reg Req: 1; CSC: 1; SYS: 0009;
?Protected Control Signalling Block(s) (CRC ERR)
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?Protected Control Signalling Block(s) (CRC ERR)
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?SLC_C_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Reg Req: 1; CSC: 1; SYS: 0009;
?Protected Control Signalling Block(s) (CRC ERR)
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?Protected Control Signalling Block(s) (CRC ERR)
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?SLC_C_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Reg Req: 1; CSC: 1; SYS: 0009;
?Protected Control Signalling Block(s) (CRC ERR)
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?Protected Control Signalling Block(s) (CRC ERR)
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?SLC_C_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Reg Req: 1; CSC: 1; SYS: 0009;
?Protected Control Signalling Block(s) (CRC ERR)
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?Protected Control Signalling Block(s) (CRC ERR)
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?SLC_C_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Reg Req: 1; CSC: 1; SYS: 0009;
?Protected Control Signalling Block(s) (CRC ERR)
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?Protected Control Signalling Block(s) (CRC ERR)
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?SLC_C_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Reg Req: 1; CSC: 1; SYS: 0009;
?Protected Control Signalling Block(s) (CRC ERR)
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?Protected Control Signalling Block(s) (CRC ERR)
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?SLC_C_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Reg Req: 1; CSC: 1; SYS: 0009;
?Protected Control Signalling Block(s) (CRC ERR)
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?Protected Control Signalling Block(s) (CRC ERR)
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?SLC_C_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Reg Req: 1; CSC: 1; SYS: 0009;
?Protected Control Signalling Block(s) (CRC ERR)
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?Protected Control Signalling Block(s) (CRC ERR)
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?SLC_C_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Reg Req: 1; CSC: 1; SYS: 0009;
?Protected Control Signalling Block(s) (CRC ERR)
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?Protected Control Signalling Block(s) (CRC ERR)
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?SLC_C_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Reg Req: 1; CSC: 1; SYS: 0009;
?Protected Control Signalling Block(s) (CRC ERR)
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?Protected Control Signalling Block(s) (CRC ERR)


73 Christian DB9CR


Re: DMR Trunking: Hytera PD755 Stuck in "Out of Range"

 

On Monday, 17 June 2024 21:13:08 EEST you wrote:
Hello Adrian,

things start to make sense. Lookong at the output of MMDVMHost, I see an
error something like "message 14". 14 is the ID of Aloha. I made a clean
recompile of MMDVM-SDR and now I get Aloha-Packets. Do I understand this
correctly that MMDCMHost initializes the Aloha on startup and then MMDVM
sends Aloha on it's own continuously?
Hello Christian,

You are completely correct, that is how it works.
Regarding your errors, I see that you have solved them, congratulations!

The full documentation is now at this URL:


If you find any gaps or issues in it, please let me know.
Would also be useful if you let me know about which features work or not on
your radio, according to the current implemented services and radio
compatibility matrix.

Any questions or ideas, don't hesitate to ask.

73,
Adrian YO8RZZ


Re: DMR Trunking: Hytera PD755 Stuck in "Out of Range"

 

rm -rf MMDVM-SDR/
git clone
cd MMDVM-SDR
git checkout mmdvm_sdr
mkdir build && cd build
cmake ..
make -j 2

[...]

Runnign with this MMDVM binary, MMDVMHost tells me:

W: 2024-06-17 18:38:18.287 Received a NAK from the MMDVM, command = 0x14, reason = 1

When I switch to trunking branch:

git checkout trunking

rm -rf build

mkdir build

cd build

cmake ..

make

NAK error is gone, but instead, the DMR signal on the control channel, when received as FM, is not steady, but interrupted about 1-2 times per second. That explains the CRC errors in dsd-fme.

Reduced to 4 channels, same problem. System load seems fine.

top - 20:48:08 up 11 min,? 2 users,? load average: 2.07, 2.22, 1.30
Tasks: 157 total,?? 2 running, 155 sleeping,?? 0 stopped,?? 0 zombie
%Cpu(s): 21.2 us,? 9.5 sy,? 0.0 ni, 69.0 id,? 0.0 wa,? 0.0 hi, 0.3 si,? 0.0 st
MiB Mem :? 15876.3 total,? 14964.8 free,??? 427.0 used,??? 484.5 buff/cache
MiB Swap:??? 976.0 total,??? 976.0 free,????? 0.0 used.? 15095.8 avail Mem

??? PID USER????? PR? NI??? VIRT??? RES??? SHR S? %CPU? %MEM TIME+ COMMAND
?? 2725 db9cr???? 20?? 0 3250220 177232? 52416 S? 65.4?? 1.1 0:43.10 qradiolink
?? 2814 db9cr???? 20?? 0? 321996?? 5776?? 5208 S? 11.3?? 0.0 0:07.85 mmdvm
?? 2727 db9cr???? 20?? 0 1590168? 92176? 61100 S? 11.0?? 0.6 0:08.19 dmrtc
?? 2815 db9cr???? 20?? 0? 321996?? 5652?? 5088 S? 10.3?? 0.0 0:07.55 mmdvm
?? 2816 db9cr???? 20?? 0? 321996?? 5684?? 5120 R? 10.3?? 0.0 0:07.51 mmdvm
?? 2817 db9cr???? 20?? 0? 321996?? 5656?? 5092 S? 10.3?? 0.0 0:07.56 mmdvm
?? 2947 db9cr???? 20?? 0??? 6364?? 3756?? 3488 S?? 2.7?? 0.0 0:01.17 DMRGateway
?? 2945 db9cr???? 20?? 0??? 6364?? 3648?? 3380 S?? 2.3?? 0.0 0:01.18 DMRGateway
?? 2946 db9cr???? 20?? 0??? 6364?? 3608?? 3336 S?? 2.0?? 0.0 0:01.17 DMRGateway
?? 2948 db9cr???? 20?? 0??? 6364?? 3736?? 3468 S?? 2.0?? 0.0 0:01.16 DMRGateway
?? 2938 db9cr???? 20?? 0?? 14976?? 3800?? 3532 S?? 1.0?? 0.0 0:00.58 MMDVMHost
?? 2939 db9cr???? 20?? 0?? 14976?? 3768?? 3496 S?? 1.0?? 0.0 0:00.57 MMDVMHost
?? 2940 db9cr???? 20?? 0?? 14976?? 3704?? 3428 S?? 1.0?? 0.0 0:00.57 MMDVMHost
?? 2941 db9cr???? 20?? 0?? 14976?? 3816?? 3548 S?? 1.0?? 0.0 0:00.57 MMDVMHost
??? 695 sddm????? 20?? 0 1229048 114384? 71876 S?? 0.3?? 0.7 0:04.27 sddm-greeter
????? 1 root????? 20?? 0? 164152? 10400?? 7728 S?? 0.0?? 0.1 0:01.16 systemd
????? 2 root????? 20?? 0?????? 0????? 0????? 0 S?? 0.0?? 0.0 0:00.00 kthreadd
????? 3 root?????? 0 -20?????? 0????? 0????? 0 I?? 0.0?? 0.0 0:00.00 rcu_gp
????? 4 root?????? 0 -20?????? 0????? 0????? 0 I?? 0.0?? 0.0 0:00.00 rcu_par_gp
????? 6 root?????? 0 -20?????? 0????? 0????? 0 I?? 0.0?? 0.0 0:00.00 kworker/0:0H-events_highpri
????? 8 root?????? 0 -20?????? 0????? 0????? 0 I?? 0.0?? 0.0 0:00.00 mm_percpu_wq
????? 9 root????? 20?? 0?????? 0????? 0????? 0 S?? 0.0?? 0.0 0:00.00 rcu_tasks_rude_
???? 10 root????? 20?? 0?????? 0????? 0????? 0 S?? 0.0?? 0.0 0:00.00 rcu_tasks_trace
???? 11 root????? 20?? 0?????? 0????? 0????? 0 S?? 0.0?? 0.0 0:00.02 ksoftirqd/0
???? 12 root????? 20?? 0?????? 0????? 0????? 0 I?? 0.0?? 0.0 0:00.20 rcu_sched
???? 13 root????? rt?? 0?????? 0????? 0????? 0 S?? 0.0?? 0.0 0:00.00 migration/0
???? 14 root????? 20?? 0?????? 0????? 0????? 0 I?? 0.0?? 0.0 0:00.04 kworker/0:1-events
???? 15 root????? 20?? 0?????? 0????? 0????? 0 S?? 0.0?? 0.0 0:00.00 cpuhp/0
???? 16 root????? 20?? 0?????? 0????? 0????? 0 S?? 0.0?? 0.0 0:00.00 cpuhp/1
???? 17 root????? rt?? 0?????? 0????? 0????? 0 S?? 0.0?? 0.0 0:00.09 migration/1
???? 18 root????? 20?? 0?????? 0????? 0????? 0 S?? 0.0?? 0.0 0:00.01 ksoftirqd/1

different USB port solved the problem. Now the radio is registering!

Thank you very much for your help!

Christian DB9CR


Re: DMR Trunking: Hytera PD755 Stuck in "Out of Range"

 

Hello Adrian,

things start to make sense. Lookong at the output of MMDVMHost, I see an error something like "message 14". 14 is the ID of Aloha. I made a clean recompile of MMDVM-SDR and now I get Aloha-Packets. Do I understand this correctly that MMDCMHost initializes the Aloha on startup and then MMDVM sends Aloha on it's own continuously?

20:02:00 Sync: +DMR? [slot1]? slot2? | Color Code=01 | CSBK
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?SLC_C_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Reg Req: 1; CSC: 1; SYS: 0009;
20:02:00 Sync: +DMR? [slot1]? slot2? | Color Code=01 | CSBK
?Protected Control Signalling Block(s) (CRC ERR)
20:02:00 Sync: +DMR?? slot1? [slot2] | Color Code=01 | CSBK
?Protected Control Signalling Block(s) (CRC ERR)
20:02:00 Sync: +DMR? [slot1]? slot2? | Color Code=01 | CSBK
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?SLCO CRC ERR
20:02:00 Sync: +DMR?? slot1? [slot2] | Color Code=01 | CSBK
?Protected Control Signalling Block(s) (CRC ERR)
20:02:00 Sync: +DMR? [slot1]? slot2? | Color Code=01 | CSBK
?Protected Control Signalling Block(s) (CRC ERR)
20:02:00 Sync: +DMR?? slot1? [slot2] | Color Code=01 | CSBK
?Protected Control Signalling Block(s) (CRC ERR)
20:02:00 Sync: +DMR? [slot1]? slot2? | Color Code=01 | CSBK
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?SLC_C_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Reg Req: 1; CSC: 1; SYS: 0009;
20:02:00 Sync: +DMR?? slot1? [slot2] | Color Code=01 | CSBK
?Protected Control Signalling Block(s) (CRC ERR)
20:02:00 Sync: +DMR? [slot1]? slot2? | Color Code=01 | CSBK (CRC ERR)
20:02:00 Sync: +DMR?? slot1? [slot2] | Color Code=01 | CSBK
?Protected Control Signalling Block(s) (CRC ERR)
20:02:01 Sync: +DMR? [slot1]? slot2? | Color Code=01 | CSBK
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?SLC_C_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Reg Req: 1; CSC: 1; SYS: 0009;
20:02:01 Sync: +DMR?? slot1? [slot2] | Color Code=01 | CSBK
?Protected Control Signalling Block(s) (CRC ERR)
20:02:01 Sync: +DMR? [slot1]? slot2? | Color Code=01 | CSBK (CRC ERR)
20:02:01 Sync: +DMR?? slot1? [slot2] | Color Code=01 | CSBK
?Protected Control Signalling Block(s) (CRC ERR)
20:02:01 Sync: +DMR? [slot1]? slot2? | Color Code=01 | CSBK
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?SLCO CRC ERR
20:02:01 Sync: +DMR?? slot1? [slot2] | Color Code=01 | CSBK
?Protected Control Signalling Block(s) (CRC ERR)
20:02:01 Sync: +DMR?? slot1? [slot2] | Color Code=01 | CSBK (CRC ERR)
20:02:01 Sync: +DMR?? slot1? [slot2] | Color Code=01 | CSBK
?Protected Control Signalling Block(s) (CRC ERR)
20:02:01 Sync: +DMR? [slot1]? slot2? | Color Code=01 | CSBK
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?SLCO CRC ERR
20:02:01 Sync: +DMR?? slot1? [slot2] | Color Code=01 | CSBK
?Protected Control Signalling Block(s) (CRC ERR)
20:02:01 Sync: +DMR? [slot1]? slot2? | Color Code=01 | CSBK (CRC ERR)
20:02:01 Sync: +DMR?? slot1? [slot2] | Color Code=01 | CSBK
?Protected Control Signalling Block(s) (CRC ERR)
20:02:01 Sync: +DMR? [slot1]? slot2? | Color Code=01 | CSBK
?C_ALOHA_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Cat: AB; SYS: 0009;
?SLC_C_SYS_PARMS: Tiny; Net ID: 2; Site ID: 1.2; Reg Req: 1; CSC: 1; SYS: 0009;
20:02:01 Sync: +DMR?? slot1? [slot2] | Color Code=01 | CSBK
?Protected Control Signalling Block(s) (CRC ERR)
20:02:01 Sync: +DMR? [slot1]? slot2? | Color Code=01 | CSBK (CRC ERR)
20:02:01 Sync: +DMR?? slot1? [slot2] | Color Code=01 | CSBK
?Protected Control Signalling Block(s) (CRC ERR)

Still, radio says "Out of range". But one step further.

Thanks!

Christian DB9CR