{"action":"created","issue":{"url":"https://api.github.com/repos/SignalK/specification/issues/146","labels_url":"https://api.github.com/repos/SignalK/specification/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/SignalK/specification/issues/146/comments","events_url":"https://api.github.com/repos/SignalK/specification/issues/146/events","html_url":"https://github.com/SignalK/specification/issues/146","id":125067220,"number":146,"title":"Add definition of mdns/bonjour service ","user":{"login":"rob42","id":3239261,"avatar_url":"https://avatars.githubusercontent.com/u/3239261?v=3","gravatar_id":"","url":"https://api.github.com/users/rob42","html_url":"https://github.com/rob42","followers_url":"https://api.github.com/users/rob42/followers","following_url":"https://api.github.com/users/rob42/following{/other_user}","gists_url":"https://api.github.com/users/rob42/gists{/gist_id}","starred_url":"https://api.github.com/users/rob42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rob42/subscriptions","organizations_url":"https://api.github.com/users/rob42/orgs","repos_url":"https://api.github.com/users/rob42/repos","events_url":"https://api.github.com/users/rob42/events{/privacy}","received_events_url":"https://api.github.com/users/rob42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-01-05T22:33:30Z","updated_at":"2016-01-07T11:20:28Z","closed_at":null,"body":"We currently advertise the signalk services via mdns in both the java and node servers, and reference the idea in http://signalk.org/developers/apis_and_conventions.html, but we have no formal service name and message content written yet.\r\n\r\nSo as a starting point the java server advertises:\r\n```\r\nService Type: _signalk-http._tcp\r\nService Name: signalk-http \r\nDomain Name: local\r\nInterface: wlan0 IPv4\r\nAddress: 10-1-1-64.local/10.1.1.64:8080\r\nTXT vessel_uuid = urn:mrn:signalk:uuid:c0d79334-4e25-4245-8892-54e8ccc8021d\r\nTXT server = signalk-server\r\nTXT version = 0.1\r\nTXT vessel_mmsi = 123456789\r\nTXT path = /signalk/v1/api\r\nTXT vessel_name = motu\r\n```\r\n```\r\nService Type: _signalk-ws._tcp\r\nService Name: signalk-ws\r\nDomain Name: local\r\nInterface: wlan0 IPv4\r\nAddress: 10-1-1-64.local/10.1.1.64:3000\r\nTXT vessel_uuid = urn:mrn:signalk:uuid:c0d79334-4e25-4245-8892-54e8ccc8021d\r\nTXT server = signalk-server\r\nTXT version = 0.1\r\nTXT vessel_mmsi = 123456789\r\nTXT path = /signalk/v1/stream\r\nTXT vessel_name = motu\r\n```\r\n\r\n```\r\nService Type: _signalk-tcp._tcp\r\nService Name: signalk-tcp\r\nDomain Name: local\r\nInterface: wlan0 IPv4\r\nAddress: 10-1-1-64.local/10.1.1.64:55555\r\nTXT vessel_uuid = urn:mrn:signalk:uuid:c0d79334-4e25-4245-8892-54e8ccc8021d\r\nTXT server = signalk-server\r\nTXT version = 0.1\r\nTXT vessel_mmsi = 123456789\r\nTXT vessel_name = motu\r\n```\r\nIf this is correct then I will write up some docs etc"},"comment":{"url":"https://api.github.com/repos/SignalK/specification/issues/comments/169634145","html_url":"https://github.com/SignalK/specification/issues/146#issuecomment-169634145","issue_url":"https://api.github.com/repos/SignalK/specification/issues/146","id":169634145,"user":{"login":"sumps","id":10165637,"avatar_url":"https://avatars.githubusercontent.com/u/10165637?v=3","gravatar_id":"","url":"https://api.github.com/users/sumps","html_url":"https://github.com/sumps","followers_url":"https://api.github.com/users/sumps/followers","following_url":"https://api.github.com/users/sumps/following{/other_user}","gists_url":"https://api.github.com/users/sumps/gists{/gist_id}","starred_url":"https://api.github.com/users/sumps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumps/subscriptions","organizations_url":"https://api.github.com/users/sumps/orgs","repos_url":"https://api.github.com/users/sumps/repos","events_url":"https://api.github.com/users/sumps/events{/privacy}","received_events_url":"https://api.github.com/users/sumps/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T11:20:28Z","updated_at":"2016-01-07T11:20:28Z","body":"I can accept not including this \"Roles\" issue for V1.\r\nAre we definitely going to include the Signal K version supported by the device in the Bonjour/mDNS record ? I note in Robs initial post (above) that he included a TXT entry for Path that included the SK version number, but does it not make sense to just include the SK version number and let the consumer/server work out the URL as it is consistent for each service type and some services do not have a path i.e. TCP.\r\nAlso having the SK version number and linking this to the Bonjour/mDNS format version means that we can expand the Bonjour/mDNS record format in the future."}}