g4klx / ircDDBGateway

The ircDDB Gateway for D-Star
GNU General Public License v2.0
61 stars 41 forks source link

Feature Request: Support Icom Terminal Mode #50

Open K2IE opened 4 years ago

K2IE commented 4 years ago

I've added an IC-9700 to the shack and would love it if i could use the Terminal Mode over ethernet to make the radio a client of ircddbgateway much as my MMDVM and DVAP devices. This would eliminate some operational issues that arise because both the IC-9700 and ircddbgateway need UDP port 40000 and my home network is behind NAT (as are most of us).

Please consider whether such a design is feasible.

g4klx commented 4 years ago

Hi

I need to know more about the terminal mode on the IC-9700 before I can do anything. Is there a protocol specification anywhere?

Jonathan

K2IE commented 4 years ago

I am not certain if there is any documentation from Icom, but Marius (YO2LOJ) was able to implement an Icom Terminal Mode server that he contributed to the xlxd project. You may want to take a look at https://github.com/LX3JL/xlxd/pull/140, it could provide some clues.

yo2loj commented 4 years ago

Hi Jonathan, sorry for chiming in so late... Regarding the G3 Terminal mode, this as a reverse engineering of their protocol, and there is no official document available. The basic info on this a proof of concept code I placed on github under yo2loj/demo_terminal_concept which demonstrates the server access and operation in this mode, which I also migrated to xlxd.

Marius, YO2LOJ

yo2loj commented 4 years ago

But the main issue I see on this is the fact that the G3 protocol shares ports with the G2 protocol and the DV forwarding from/to ircddbgateway. What is adds is an access request and a connection request (on ports 12346 and 12345) which instructs the radio to forward its DV stream to a specific destination via port 40000 (the data packet format itself on port 40000 is identical to G2).