Page 1 of 1

Connection to Brandmeister not working with DMRGateway

Posted: Wed Jan 20, 2021 2:50 pm
by G6FIR
MMDVM with Pi Zero, and Pi_Star 4.1.2

Using BrandMeister_United_Kingdon_2341 with Hotspot security as the only network (master), I have a solid working hostpot.
However, if I configure DMRGateway and set up BrandMeister_United_Kingdon_2341 as the first network, it seems to be unable to connect:

"Connection to the master has timed out. Retrying connection.

Configuration for the BM is identical under the gateway as it is on its own so I must be missing something obvious. Can anyone shed any light?

Thanks in advance.

Re: Connection to Brandmeister not working with DMRGateway

Posted: Thu Jan 21, 2021 5:40 pm
by G6FIR
Solution may be in this thread:

viewtopic.php?f=5&t=2274

I'll report back when I've tried it.

Re: Connection to Brandmeister not working with DMRGateway

Posted: Tue Mar 16, 2021 2:24 pm
by DL1MX
Same here with v4.1.4 and DMRgateway configured for BM2621 and DMR+_IPSC2_HOTSPOT:

D: 2021-03-16 14:13:27.362 DMR Slot 2, raw RSSI: 89, reported RSSI: -89 dBm
E: 2021-03-16 14:13:38.020 DMR, Connection to the master has timed out, retrying connection
M: 2021-03-16 14:13:38.021 DMR, Closing DMR Network
M: 2021-03-16 14:13:38.023 DMR, Opening DMR Network
D: 2021-03-16 14:13:48.052 DMR, Sending authorisation
D: 2021-03-16 14:13:48.060 DMR, Sending configuration
M: 2021-03-16 14:13:48.072 DMR, Logged into the master successfully
E: 2021-03-16 14:15:48.272 DMR, Connection to the master has timed out, retrying connection
M: 2021-03-16 14:15:48.273 DMR, Closing DMR Network
M: 2021-03-16 14:15:48.275 DMR, Opening DMR Network
D: 2021-03-16 14:15:58.296 DMR, Sending authorisation
D: 2021-03-16 14:15:58.307 DMR, Sending configuration
M: 2021-03-16 14:15:58.313 DMR, Logged into the master successfully
E: 2021-03-16 14:17:58.513 DMR, Connection to the master has timed out, retrying connection
M: 2021-03-16 14:17:58.515 DMR, Closing DMR Network
M: 2021-03-16 14:17:58.517 DMR, Opening DMR Network
D: 2021-03-16 14:18:08.544 DMR, Sending authorisation
D: 2021-03-16 14:18:08.556 DMR, Sending configuration
M: 2021-03-16 14:18:08.563 DMR, Logged into the master successfully
D: 2021-03-16 14:18:27.115 DMR Slot 2, raw RSSI: 47, reported RSSI: -47 dBm

As single Network in MMDVM.ini it works without timeouts.
The mentioned thread has no solution.

DMRGateway.ini extract:
[DMR Network 1]
Enabled=1
Address=87.106.126.49
Port=62031
TGRewrite0=2,99,2,9,1
PCRewrite0=2,94000,2,4000,1001
TypeRewrite0=2,9990,2,9990
SrcRewrite0=2,4000,2,99,1001
PassAllTG0=2
Password=***
Debug=0
Id=262334402
Name=BM_Germany_2621

[DMR Network 2]
Enabled=1
Address=91.132.144.235
Port=55555
TGRewrite0=2,9,2,9,1
PCRewrite0=2,4000,2,4000,1001
SrcRewrite0=2,4000,2,9,1001
PassAllPC0=2
Password=***
Debug=0
Id=262334402
Name=DMR+_IPSC2-DL-HOTSPOT
Options="StartRef=4010;RelinkTime=15;UserLink=1;CQWW=1;TS1_1=262;TS1_2=110;TS1_3=20;TS1_4=7;TS1_5=6;"

Re: Connection to Brandmeister not working with DMRGateway

Posted: Wed Mar 17, 2021 10:22 am
by DL1MX
Today I compiled MMDVMHost and DMRGateway on another RPi3 and copied it to the pi-star 4.1.4 running on an RPi Zero W. Now pi-star is running without any timeouts. Seems there is something wrong between the communication of MMDVMHost and DMRGateway.

On original MMDVMHost github i've seen a change on December 6th, 2020 regarding Direct mode and Gateway mode. Maybe it has something to do with it.