Closed balazsracz closed 1 year ago
JMRI has capabilities to advertise mDNS services already. It will be pretty simple to add that. I’ll try to review the relevant documentation for the names to use.
The name should be _openlcb-can._tcp when the hub is running. This is documented in the TcpStandard (not sure if it's the S or TN).
thanks Balazs
Hi @balazsracz , can this be closed down?
The JMRI Hub Control should be advertising on _openlcb-can._tcp.local.
?
https://github.com/JMRI/JMRI/blob/master/java/src/jmri/jmrix/openlcb/swing/hub/HubPane.java#L211
Ta, Steve.
I confirm that JMRI is advertising as required. This can be closed.
In the draft TCP standard there are mDNS names set for automatically connecting to an OpenLCB network. We should have an implementation for this in openlcb.jar or downstream in JMRI.