Date   

Re: hytera USB packet structure

Kev
 

Hi Eric, thanks for taking the time to help.
Could you have a quick look at my attachment? you might recognise something there I've missed.
GPS is my next protocol, I have captures of that too.
I believe these are standard etsi packets, I think I've just read too much etsi and confused myself :)

These where captured in hex using wireshark. The USB is recognised as a network adapter.


Re: Analog_Reflector VPS

Steve N4IRS
 

As root:

apt update
apt upgrade
if any updates applied, reboot
wget http://dvswitch.org/buster
chmod +x buster
./buster
apt install dvswitch-server
apt-install analog-reflector
logout
login
run dvs to configure DVSwitch Server
edit Analog_Reflector.json to configure the reflector

Steve N4IRS

On 3/16/2021 11:48 AM, Bruno wrote:
ok
I have to install the DVSWitch Server and Analog_Bridge on the VPS ?  
The HTML client is a github delivery or is it part of a package?

Well done for the dev work the whole team is doing.

Bye


Re: Analog_Reflector VPS

Bruno
 

ok
I have to install the DVSWitch Server and Analog_Bridge on the VPS ?  
The HTML client is a github delivery or is it part of a package?

Well done for the dev work the whole team is doing.

Bye


Re: Analog_Reflector VPS

Steve N4IRS
 

Yes, works fine.

On 3/16/2021 11:36 AM, Bruno wrote:
Hi

Can we install an Analog_Reflector on a VPS and have the HTML client.

73's
--
F1PTL Bruno


Analog_Reflector VPS

Bruno
 

Hi

Can we install an Analog_Reflector on a VPS and have the HTML client.

73's
--
F1PTL Bruno


Re: P25 to DMR on VPS Server

Adrianm0glj@...
 

Thanks for the reply's everybody

 

I'm not familiar with DVSwitch and need a guiding hand to help me set this up. Can someone point me in the right direction to getting this P25 to DMR setup?

Which parts of the repo do I need and what settings should I be aiming for?

Adrian
M0GLJ

 


Re: hytera USB packet structure

Eric - KF7EEL
 

From what I have seen with several radios, the IP header is usually in the next block(s) after the header, followed by the data. I have only worked with SMS and GPS  air protocol, ETSI 102 361-1.

All the data that I have decoded has been encoded at 1/2 rate, so BPTC works for decoding. What did you use to capture the data in your txt file?


Re: Analog_Bridge log and boot log errors

G4WXN@...
 
Edited

Dashboard found :-)

I am assuming AB is running, I am RXing and TXing.


--
Derek

G4WXN


Re: Analog_Bridge log and boot log errors

Steve N4IRS
 

Is Analog_Bridge running? Try starting it?
The dashboard is at port 80. 8080 is the RX monitor.

On 3/16/2021 9:58 AM, G4WXN@... wrote:

I have just used the system builder to rebuild one of my Rpis that was having issues.
I first used the system builder back in March or April last year, this install looks very different.

Anyway, cutting to the chase.

I see this error in the boot.log file
Can not find /tmp/ABInfo file (have you run Analog_Bridge?), aborting 

I also have another error, in that I tried to connect to the dashboard on ipaddressofpi:8080 and I get a message

"Upgrade required"

If anyone can throw light upon either problem it would be appreciated.



--
Derek

G4WXN



Analog_Bridge log and boot log errors

G4WXN@...
 

I have just used the system builder to rebuild one of my Rpis that was having issues.
I first used the system builder back in March or April last year, this install looks very different.

Anyway, cutting to the chase.

I see this error in the boot.log file
Can not find /tmp/ABInfo file (have you run Analog_Bridge?), aborting 

I also have another error, in that I tried to connect to the dashboard on ipaddressofpi:8080 and I get a message

"Upgrade required"

If anyone can throw light upon either problem it would be appreciated.



--
Derek

G4WXN


Re: more: not connecting to BM any more

Steve N4IRS
 

Well,
I disagree that anything has to be done on the BM side. It all depends on your needs. And again, duplex offers some advantages but has some downsides.
Yes, the UI for BM changes base on the configuration you present during login. MB is not disconnected from the receiving TG, BM uses a inactivity timer for a duplex connection to remove the TG.


Steve N4IRS

On 3/16/2021 9:10 AM, Ken KE2N via groups.io wrote:
OK - hold the boat.
I finally figured out what is going on.  I was on the right track when I concluded that something had to be done on the BM side.

When you change from duplex=0 to duplex=1,  BM automatically changes your hot spot configuration to have two time slots.
You will not see this unless you are looking for it - e.g., by going to BM self-care and refreshing the browser (may have to clear cache in some browsers).
Any static TG you had configured will "disappear" - it belonged to your old duplex=0 hot spot.
You need to set the static TG for the appropriate TS for your shiny new duplex hot spot. Otherwise MMDVM_Bridge will be disconnected from receiving the TG after a few minutes. 

>> this was what was causing the issue I observed.

Thanks for humoring me - 

Ken


Re: P25 to DMR on VPS Server

Alec-N1AJW
 

if you install DVSwitch Repo it should give you what you need.  Usually when I build bridges it starts out with the version the vps company provides. 

Alec
N1AJW


Re: more: not connecting to BM any more

Ken KE2N
 

OK - hold the boat.
I finally figured out what is going on.  I was on the right track when I concluded that something had to be done on the BM side.

When you change from duplex=0 to duplex=1,  BM automatically changes your hot spot configuration to have two time slots.
You will not see this unless you are looking for it - e.g., by going to BM self-care and refreshing the browser (may have to clear cache in some browsers).
Any static TG you had configured will "disappear" - it belonged to your old duplex=0 hot spot.
You need to set the static TG for the appropriate TS for your shiny new duplex hot spot. Otherwise MMDVM_Bridge will be disconnected from receiving the TG after a few minutes. 

>> this was what was causing the issue I observed.

Thanks for humoring me - 

Ken


DVSwitch Linux Shell dvs #systemcrash #mmdvm_bridge #dvs

IZ1XBB - Pier Paolo
 

Hello everyone,
Me and two other radio amateur operators have been able to find, on our DVswitch servers, when launch  the dvs shell, problems arise due to the automatic entry of errors into the MMDVM_Bridge.ini file by the shell itself.
These errors are: 
Disconnect from dmr master server
Enabling all Modes and Networks
 
To solve the problem we had to:
  • manually reconfigure the MMDVM_Bridge.ini
  • run commands: apt update, apt upgrade, reboot
 
This seemed to us to be anomalous, and I therefore thought it appropriate to point this out.
 
Thank you for your attention!
 
73 IZ1XBB
 


Re: more: not connecting to BM any more

Steve N4IRS
 

Yes, you need to understand how BM wants a connection to be configured. A duplex connection from MMDVM_Bridge has very little upside and more downside.
We have tried to set the defaults in MMDVM_Bridge for DMO. (duplex =0)  A mis-configured simplex hotspot could have it's frequencies set to split. When BM started implementing controls to not allow a mis-configured client to connect, we had to change the default frequencies to simplex. You do not have to tell BM you want a duplex connection, you just have to configure your client to duplex =1 and split frequencies.

As Corey said, these are protocol standards and BM standards. MMDVMHost and MMDVM_Bridge allowed a improper configuration to be sent to the Master. BM has implemented controls to not allow this. DVSwitch is changing MMDVM_Bridge to fix mis-configured connections before they are sent to a Master (BM or not) Simple Terminal Feature Update makes all of this moot.    

On 3/16/2021 8:29 AM, Ken KE2N via groups.io wrote:
So maybe the gap in my knowledge is on the BM end.  I am concluding that the ad hoc connection made by MMDVM_Bridge is always (or by default)  a DMO connection.

If you wanted the (RMO) duplex connection, is there something you have to tell BM first? Are you basically asking for a repeater connection?

Ken


Re: P25 to DMR on VPS Server

 

On 16/3/21 11:00 am, Adrianm0glj@gmail.com wrote:

Hi Guy's

Am I correct in thinking that DV Switch can be used to bridge DMR and P25?
Yes (Iḿ doing that, among other things myself).


If so can it be installed on a VPS server rather than using a
Raspberry Pi?
Yes (doing that too). :)


Is there a simple way of installing the minimal requirements to do the
transcoding between DMR and P25?
I have a full installation, but itś simple to install using apt on Debian.

--
73 de Tony VK3JED/VK3IRL
http://vkradio.com


Re: more: not connecting to BM any more

Corey Dean N3FE
 

TO add to this a little.

It doesn't matter if you are running DVSwitch or even a hotspot, DMO means simplex and the tx/rx frequencies must match.  It wouldn't be simplex if it didn't.  This was being abused and why bm made the changed.  If you are running in Full Duplex then the frequencies cat match or in theory you would be looping yourself and the network.

As for not showing up on the dash board.  Only your 7 digit subscriber number will work as a user.  A subscriber cant add 01-99 to their ID or it becomes invalid.  Your device, such as a hot spot can be your 7 digit subscriber id and you may add 01-99 to it.  If it isn't showing on the dash then you are changing it in the wrong place.

The above is just the basics and not tied to just DVswitch or any of the different software applications.  You may want to do some google seach on MMDVM protocol or homebrew protocol and just read up on it.  It may answer a lot of your questions.

Corey  N3FE

 


On 2021-03-15 19:49, Steve N4IRS wrote:

One last time.
I told you to set duplex to 0 because that is the recommended method. When you asked about setting split frequencies I told you that you COULD use duplex. We strongly suggest people set the config for DMO. That is simplex so the frequencies need to match or BM will not accept the connection. As I said, if you set to duplex you have to set the frequencies to split or again, BM will not allow you to connect. As I said, if you choose to use duplex, remember we recommend people use DMO, BM treats the connection as a repeater. Repeaters have different rules from a DMO connection. A DMO connection
creates a static TG type. This TG stays until you disconnect it. For a repeater connection, the TG is timed. After a period of inactivity, the TG is disconnected. If you want to over ride this, go into selfcare and set the TG static.

Yes, the ID number you use to connect to BM can be 7 or 9 digit, if 9 digit, you can have 100 hotspot connections, each can be configured differently. The ID used to login to BM is NOT the ID that is displayed on the dashboard becaue it is not the station transmitting, that is defined in the AB.ini since an analog signal has no DMR ID. If you have a hotspot logged into to BM with an ID of 123456789 and your DMR radio is programmed with your DMR ID of 1234567, then 1234567 will be displayed on the lastheard. Corey can chime in and correct me here if I have missed something.

 I have not explained all the differences between DMO and repeater connection. In the next few weeks, we will provide a better method of connecting the BM. That is called Simple Terminal Feature Update. This protocol is what BM want us to use to connect to BM. It is a simpler connection with some features not available in DMO or repeater. It is in beta test now.

Some times the nuances of connectivity are not readily apparent. We have been connecting AllStar to DMR networks before there was a BrandMeister Network. I suggest you ask how something works, don't tell us how things work because sometimes you can't see the big picture without being around the systems for a while.

Steve N4IRS
     

On 3/15/21 7:21 PM, Ken KE2N via groups.io wrote:
OK - a while back you told me I needed to set duplex = 0 but now you are saying I can set it to either 1 or 0.  If it is set to zero, then the frequencies need to be the same.  But this is not my experience.  If I set it to 1, with different frequencies, after 5 minutes or so I can no longer bring up the connection from my DMR HT/repeater, unless I first key up the analog side. There is no error message in the log when it dies. It's like BM just stops talking to MMDVM_Bridge unless it has recently heard something going the other way. This problem does not happen with duplex=0.

As you point out, all the talk about frequencies is, of course, irrelevant to MMDVM_Bridge because its not an actual modem connected to a radio. 

The answer to my question about the ID number is that it can be either the 7 digit number or a 9 digit number.  The extra digits let me see (in self-care) which hot spot is active. But that 9 digit number does not show up in Last Heard - only 7 digits are seen. And it does not show up in the DVSwitch dashboard. Is there some other place it would show up?

DMO is a new acronym for me. Direct Mode Operation - it seems was originally intended to distinguish from Repeater Mode Operation. For DMO the radio would operate simplex with only 1 time slot - or maybe no time slots at all.  But I guess DMO has taken on additional meaning having to do with hot spots and network protocol.

Sorry for being a bit thick about this.  I am trying to increase my level of understanding in fits and starts.


Ken


Re: P25 to DMR on VPS Server

Steve N4IRS
 

Yes,
it can be installed on a VPS.
You can do the base install and then add the changes to build the bridge. A DMR to P25 bridge requires a transcoder. You can build a transcoder with 2 copies of Analog_Bridge. You bridge will look something like this:
DMR Network <-> MMDVM_Bridge_DMR_ports <-> Analog_Bridge_1 <-> Analog_Bridge_2 <-> MMDVM_Bridge_P25_ports <-> P25Gateway <-> P25Reflector

DMR Network and P25Reflector are external
MMDVM_Bridge is a single instance
Analog_Bridge is 2 instances
P25Gateway is a single instance

See <https://dvswitch.groups.io/g/main/wiki/9379>

Steve N4IRS

On 3/15/21 8:00 PM, Adrianm0glj@... wrote:

Hi Guy's

Am I correct in thinking that DV Switch can be used to bridge DMR and P25?

If so can it be installed on a VPS server rather than using a Raspberry Pi?

Is there a simple way of installing the minimal requirements to do the transcoding between DMR and P25?

Adrian

M0GLJ



P25 to DMR on VPS Server

Adrianm0glj@...
 

Hi Guy's

Am I correct in thinking that DV Switch can be used to bridge DMR and P25?

If so can it be installed on a VPS server rather than using a Raspberry Pi?

Is there a simple way of installing the minimal requirements to do the transcoding between DMR and P25?

Adrian

M0GLJ


Re: more: not connecting to BM any more

Steve N4IRS
 

One last time.
I told you to set duplex to 0 because that is the recommended method. When you asked about setting split frequencies I told you that you COULD use duplex. We strongly suggest people set the config for DMO. That is simplex so the frequencies need to match or BM will not accept the connection. As I said, if you set to duplex you have to set the frequencies to split or again, BM will not allow you to connect. As I said, if you choose to use duplex, remember we recommend people use DMO, BM treats the connection as a repeater. Repeaters have different rules from a DMO connection. A DMO connection
creates a static TG type. This TG stays until you disconnect it. For a repeater connection, the TG is timed. After a period of inactivity, the TG is disconnected. If you want to over ride this, go into selfcare and set the TG static.

Yes, the ID number you use to connect to BM can be 7 or 9 digit, if 9 digit, you can have 100 hotspot connections, each can be configured differently. The ID used to login to BM is NOT the ID that is displayed on the dashboard becaue it is not the station transmitting, that is defined in the AB.ini since an analog signal has no DMR ID. If you have a hotspot logged into to BM with an ID of 123456789 and your DMR radio is programmed with your DMR ID of 1234567, then 1234567 will be displayed on the lastheard. Corey can chime in and correct me here if I have missed something.

 I have not explained all the differences between DMO and repeater connection. In the next few weeks, we will provide a better method of connecting the BM. That is called Simple Terminal Feature Update. This protocol is what BM want us to use to connect to BM. It is a simpler connection with some features not available in DMO or repeater. It is in beta test now.

Some times the nuances of connectivity are not readily apparent. We have been connecting AllStar to DMR networks before there was a BrandMeister Network. I suggest you ask how something works, don't tell us how things work because sometimes you can't see the big picture without being around the systems for a while.

Steve N4IRS
     

On 3/15/21 7:21 PM, Ken KE2N via groups.io wrote:
OK - a while back you told me I needed to set duplex = 0 but now you are saying I can set it to either 1 or 0.  If it is set to zero, then the frequencies need to be the same.  But this is not my experience.  If I set it to 1, with different frequencies, after 5 minutes or so I can no longer bring up the connection from my DMR HT/repeater, unless I first key up the analog side. There is no error message in the log when it dies. It's like BM just stops talking to MMDVM_Bridge unless it has recently heard something going the other way. This problem does not happen with duplex=0.

As you point out, all the talk about frequencies is, of course, irrelevant to MMDVM_Bridge because its not an actual modem connected to a radio. 

The answer to my question about the ID number is that it can be either the 7 digit number or a 9 digit number.  The extra digits let me see (in self-care) which hot spot is active. But that 9 digit number does not show up in Last Heard - only 7 digits are seen. And it does not show up in the DVSwitch dashboard. Is there some other place it would show up?

DMO is a new acronym for me. Direct Mode Operation - it seems was originally intended to distinguish from Repeater Mode Operation. For DMO the radio would operate simplex with only 1 time slot - or maybe no time slots at all.  But I guess DMO has taken on additional meaning having to do with hot spots and network protocol.

Sorry for being a bit thick about this.  I am trying to increase my level of understanding in fits and starts.


Ken

941 - 960 of 9801