Brandmeister link issue

Help with DMR issues
4S7EF
Posts: 48
Joined: Wed Aug 14, 2019 2:50 am
Location: Sri Lanka

Brandmeister link issue

Post by 4S7EF »

Good morning!

I have a duplex hotspot with a Chinese made MMDVM HAT on a Raspberry PI3B+.

In my DMR/Brandmeister configuration, I use DMRGATEWAY as the DMR MASTER and BM_4501_South_Korea as my BM Master and the BM Network ESSID is *******02

Try as I may (re-entering the passwords in both the Hotspot and BM Selfcare, and resetting the BM API on) I can't get the hotspot to connect with BM. I see the RED icon against my DMR ID on the BM Selfcare page.

On checking the LOG (see below), I see TGIF activity but NO DMR activity as the hotspot is not linked with BM.

However on my Simplex hotspot with the identical DMR settings I am able to connect to BM albeit with the BM Network ESSID ******01

On my duplex I have it also configured for TGIF and that is working.

I have separate BM API Keys for the Simplex and Duplex.

Any suggestions please? 4S7EF


Live Logs
Starting logging, please wait...
M: 2021-11-24 03:07:58.711 DMR Slot 2, received network voice header from NP4M to TG 5031665
M: 2021-11-24 03:08:02.363 DMR Slot 1, received RF voice header from 4S7EF to TG 91
M: 2021-11-24 03:08:02.824 DMR Slot 1, received RF end of voice transmission from 4S7EF to TG 91, 0.4 seconds, BER: 0.0%, RSSI: -47/-47/-47 dBm
M: 2021-11-24 03:08:05.292 DMR Slot 2, received network end of voice transmission from NP4M to TG 5031665, 6.6 seconds, 0% packet loss, BER: 0.0%
M: 2021-11-24 03:08:05.364 DMR Slot 1, received RF voice header from 4S7EF to TG 91
M: 2021-11-24 03:08:06.544 DMR Slot 1, received RF end of voice transmission from 4S7EF to TG 91, 1.1 seconds, BER: 0.0%, RSSI: -47/-47/-47 dBm
M: 2021-11-24 03:08:34.445 DMR Slot 2, received network voice header from KB3NUN to TG 5031665
M: 2021-11-24 03:08:35.913 DMR Slot 2, network watchdog has expired, 0.1 seconds, 0% packet loss, BER: 0.0%
KE7FNS
Pi-Star Team
Posts: 2292
Joined: Wed Apr 17, 2019 11:11 pm

Re: Brandmeister link issue

Post by KE7FNS »

4S7EF wrote: Wed Nov 24, 2021 3:12 am I have separate BM API Keys for the Simplex and Duplex.
I'm pretty sure you should only have one BM API key for all your hotspots, just like you only have one hotspot security password.
4S7EF wrote: Wed Nov 24, 2021 3:12 am Any suggestions please? 4S7EF
You should first get it working using just one network, and THEN use DMRGateway once you can successfully connect to each network individually.

It is possible that BM doesn't like your configuration so you are being blocked. For example simplex operation on dual hat hardware is not allowed. DMR ID's and the assigned callsign must match the official database.

Really this is a BM issue and you should contact them for support.
4S7EF wrote: Wed Nov 24, 2021 3:12 am Live Logs
Starting logging, please wait...
M: 2021-11-24 03:07:58.711 DMR Slot 2, received network voice header from NP4M to TG 5031665
M: 2021-11-24 03:08:02.363 DMR Slot 1, received RF voice header from 4S7EF to TG 91
M: 2021-11-24 03:08:02.824 DMR Slot 1, received RF end of voice transmission from 4S7EF to TG 91, 0.4 seconds, BER: 0.0%, RSSI: -47/-47/-47 dBm
M: 2021-11-24 03:08:05.292 DMR Slot 2, received network end of voice transmission from NP4M to TG 5031665, 6.6 seconds, 0% packet loss, BER: 0.0%
M: 2021-11-24 03:08:05.364 DMR Slot 1, received RF voice header from 4S7EF to TG 91
M: 2021-11-24 03:08:06.544 DMR Slot 1, received RF end of voice transmission from 4S7EF to TG 91, 1.1 seconds, BER: 0.0%, RSSI: -47/-47/-47 dBm
M: 2021-11-24 03:08:34.445 DMR Slot 2, received network voice header from KB3NUN to TG 5031665
M: 2021-11-24 03:08:35.913 DMR Slot 2, network watchdog has expired, 0.1 seconds, 0% packet loss, BER: 0.0%
I see nothing useful in that capture of the logs, how about posting the lines where it says "connecting to DMR master"
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol: and again
4S7EF
Posts: 48
Joined: Wed Aug 14, 2019 2:50 am
Location: Sri Lanka

Re: Brandmeister link issue

Post by 4S7EF »

I think I have a solution to my issue.

I have replaced DMR GATEWAY with BM_4501_south_korea as my Master DMR MASTER.

Now the hotspot is linked with Brandmeister.
KE7FNS
Pi-Star Team
Posts: 2292
Joined: Wed Apr 17, 2019 11:11 pm

Re: Brandmeister link issue

Post by KE7FNS »

4S7EF wrote: Wed Nov 24, 2021 4:05 pm I think I have a solution to my issue.

I have replaced DMR GATEWAY with BM_4501_south_korea as my Master DMR MASTER.

Now the hotspot is linked with Brandmeister.
That is what I was suggesting by selecting only one network.

Since that works, it must be a problem with the configuration of DMRGateway. Most likely a hotspot security password issue.
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol: and again
4S7EF
Posts: 48
Joined: Wed Aug 14, 2019 2:50 am
Location: Sri Lanka

Re: Brandmeister link issue

Post by 4S7EF »

On my SIMPLEX hotspot, I was going through FULL EDIT: DMR GW and found that the DMR network was NOT ENABLED, for some reason or the other, when setting DMR GATEWAY as the DMR MASTER

[DMR Network 1]
Enabled=1
Address=3103.master.brandmeister.network
Port=62031
TGRewrite0=2,9,2,9,1
PCRewrite0=2,94000,2,4000,1001
TypeRewrite0=2,9990,2,9990
SrcRewrite0=2,4000,2,9,1001
PassAllPC0=1
PassAllTG0=1
PassAllPC1=2
PassAllTG1=2

Now both BM and TGIF are working. :) However the DMR box in Network Status is YELLOW. But traffic goes through!!

Now to do the same on the DUPLEX hotspot.

4S7EF
4S7EF
Posts: 48
Joined: Wed Aug 14, 2019 2:50 am
Location: Sri Lanka

Re: Brandmeister link issue

Post by 4S7EF »

Works OK with the Duplex hotspot as well after enabling DMR network in DMR GW. :)

Thank you Jason for your inputs which are always very gratefully appreciated. Best wishes 4S7EF
KE7FNS
Pi-Star Team
Posts: 2292
Joined: Wed Apr 17, 2019 11:11 pm

Re: Brandmeister link issue

Post by KE7FNS »

4S7EF wrote: Thu Nov 25, 2021 6:35 am However the DMR box in Network Status is YELLOW. But traffic goes through!!
That might be you losing connection to the DMR Master. There should be a DMRGateway log in /var/log/pi-star. I'd look through it and see if you see any errors.
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol: and again
4S7EF
Posts: 48
Joined: Wed Aug 14, 2019 2:50 am
Location: Sri Lanka

Re: Brandmeister link issue

Post by 4S7EF »

KE7FNS wrote: Thu Nov 25, 2021 5:34 pm
4S7EF wrote: Thu Nov 25, 2021 6:35 am However the DMR box in Network Status is YELLOW. But traffic goes through!!
That might be you losing connection to the DMR Master. There should be a DMRGateway log in /var/log/pi-star. I'd look through it and see if you see any errors.
Found it, Should I ENABLE DISPLAY LEVEL it to see the LOG? and where do I see the LOG
4S7EF
Posts: 48
Joined: Wed Aug 14, 2019 2:50 am
Location: Sri Lanka

Re: Brandmeister link issue

Post by 4S7EF »

4S7EF wrote: Fri Nov 26, 2021 2:46 am
KE7FNS wrote: Thu Nov 25, 2021 5:34 pm
4S7EF wrote: Thu Nov 25, 2021 6:35 am However the DMR box in Network Status is YELLOW. But traffic goes through!!
That might be you losing connection to the DMR Master. There should be a DMRGateway log in /var/log/pi-star. I'd look through it and see if you see any errors.
Found it, Should I ENABLE DISPLAY LEVEL it to see the LOG? and where do I see the LOG
I have enabled DISPLAYLEVEL and I am attaching the LOG. For some strange reason despite the DMR NET being yellow in the NETWORK STATUS traffic is flowing both ways.

The system DOES ALLOW me to attach the LOG file
KE7FNS
Pi-Star Team
Posts: 2292
Joined: Wed Apr 17, 2019 11:11 pm

Re: Brandmeister link issue

Post by KE7FNS »

4S7EF wrote: Fri Nov 26, 2021 4:21 am Found it, Should I ENABLE DISPLAY LEVEL it to see the LOG? and where do I see the LOG
You simply view it.

Go to a command prompt and type "cat" or "less"

Code: Select all

cat path/to/the/file/you/want/to/view.log 
or
less path/to/the/file/you/want/to/view.log 
With cat you'll have to scroll up, and with less you'll have to hit enter show the next page, and q to exit.
4S7EF wrote: Fri Nov 26, 2021 4:21 am I have enabled DISPLAYLEVEL and I am attaching the LOG. For some strange reason despite the DMR NET being yellow in the NETWORK STATUS traffic is flowing both ways.
I suspect it is yellow because its disconnecting and reconnecting to the master.
4S7EF wrote: Fri Nov 26, 2021 4:21 am The system DOES ALLOW me to attach the LOG file
You mean the forum won't allow you to attach a file? probably. Its not that big of a deal, and I really don't want to see 10000 lines of your log file anyways, just look through it for errors, like it disconnecting and reconnecting to the master over and over.

Upping the DISPLAYLEVEL is probably a bad idea as its going to greatly increase the number of lines written, make sure you put it back to what it was or you will fill up the log area diskspace and the system will be very unhappy and quit working correctly. Trust me, I've done it monkeying around with the log files for the NextionDriver and forgotten to put it back to the default settings.
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol: and again
Post Reply