mdns

Service discovery using dns-sd

笑着哭i 提交于 2019-12-24 08:55:34
问题 I have a device which is configured in station mode. Device is connected to a smart phone over hotspot provided by smartphone. Device needs to search for a service published by an application on smartphone say _abc._tcp. I am using the command dns-sd -B _abc._tcp but no output. Please guide me what I may be missing. The application publishes the service. I verified it using Bonjour application on android. Also please clarify Is it possible to discover the services while in station mode. While

Service discovery using dns-sd

二次信任 提交于 2019-12-24 08:55:14
问题 I have a device which is configured in station mode. Device is connected to a smart phone over hotspot provided by smartphone. Device needs to search for a service published by an application on smartphone say _abc._tcp. I am using the command dns-sd -B _abc._tcp but no output. Please guide me what I may be missing. The application publishes the service. I verified it using Bonjour application on android. Also please clarify Is it possible to discover the services while in station mode. While

What's the strategy of DNS-SD services responding to mDNS query?

帅比萌擦擦* 提交于 2019-12-24 08:29:05
问题 I am trying to gather some information of devices connected on the wifi with DNS-SD. When I use dns-sd -B _services._dns-sd._udp (OS X)/ avahi-browse -t _services._dns-sd._udp (Linux) repeatedly to observe the published services, I get more or less output while devices(Mac and iPhone) are always connected. For example, this service(used by iTunes for Wi-Fi sync) shows occasionally while no one changes the sync setting of the iPhone. Timestamp A/R Flags if Domain Service Type Instance Name 12

NsdManager discovery does not work on Android 9

你。 提交于 2019-12-23 03:57:16
问题 I have tried for a good time now to get the NsdManager discovery function to work on Android 9. It works on any Android version prior to that without any problems. For testing purposes I use this simple code snippet and there is a permission for "INTERNET" in the manifest. var nsdManager = context.getSystemService(Context.NSD_SERVICE) as NsdManager nsdManager.discoverServices("_https._tcp", NsdManager.PROTOCOL_DNS_SD, object: NsdManager.DiscoveryListener { override fun onDiscoveryStarted

Network Service Discovery is not discover service type

戏子无情 提交于 2019-12-22 12:26:04
问题 I want to find server in my local network through android device. I am able to find it by using NSDManager service with service type of server(e.g _workstation._tcp is service type). In my local network I have a wifi router and a wifi repeater, both have different SSID but same password . Wifi repeater is connected to router. Wifi repeater have same IP range as of router. For example 192.168.0.1 is gateway of my router. IP of server is 192.168.0.100 . IP assign to wifi repeater is 192.168.0

android resolve .local (mDNS)

社会主义新天地 提交于 2019-12-21 19:52:51
问题 I'm looking for a solution to resolve .local host names with Android 4.0.4 (no NSD, due to API level 15). On the device I don't have any service to discover, just the hostname. Could you please provide an example how to resolve? I integrated the jmDNS, but don't know how to use for host name resolving. win-cmd: ping kcmeasurement.local Pinging kcmeasurement.local [10.202.0.29] with 32 bytes of data: Reply from 10.202.0.29: bytes=32 time<1ms TTL=64 ... Thank you, Daniel 回答1: I had almost the

Android - jmdns doesn't discover devices

若如初见. 提交于 2019-12-12 07:09:22
问题 I'm trying to implement a class to discover services on the network. I've tried working with Android's NSD and it does discover the services fine, but it supports only API levels 16 and up, and I can't seem to retrieve the txtRecord field within the service info (it returns null for some reason). Turns out it's a known problem... So now I'm trying to work with jmDNS, which doesn't seem to find services at all. here's my class (I'm working with the AndroidAnnotations framework) MDnsHelper:

ESP8266 nodemcu resolving raspberry's local dns

别等时光非礼了梦想. 提交于 2019-12-12 06:36:55
问题 I'm having an issue with connecting the esp module on the raspberry via mqtt . After a lot of search I think I am kinda lost now. So here's the problem I have setup my raspberry's local dns to work as cubex.local, I followed the instructions here: http://www.howtogeek.com/167190/how-and-why-to-assign-the-.local-domain-to-your-raspberry-pi/ Everything seems to be working fine on this end... I can use the cubex.local on the local network to have ssh and ftp access to the raspberry but when it