![]() ![]() (Except for jailbroken devices, which often advertise SSH, AFP, etc.) Of course each service is provided by some device, so indirectly you can discover devices with it… but only by discovering a service that they're advertising.Īs far as I know, (except Apple TVs) don't advertise any services, except while you're running an app that uses Bonjour to find the same app on other machines. ![]() The point of Bonjour is to discover services, not devices. What you're trying to do (a) probably can't be done, and (b) probably wouldn't be much use if it could. "Bonjour is used in two ways: - publishing a service - detecting (browsing for) available services".įor what I want to do, I don't think it will work as the ipad/iPhone won't advertise a service unless I'm running a app that advertise one (or jailbreak my iPhone/ipad and then ssh will be open). I used this to find what I was looking for. This article and the browser was helpful, in finding the services I needed to search for.Įxample (this discovered my apple tv's, not at home atm so can't check what the iphone is called! I assume iphone! python browse_and_resolve.py _appletv._tcpĪlso if you have the windows utility dns-sd.exe this will search for all the services available on the network. ![]() If I am going in the wrong direction please let me know, I can't seem to find the documentation on this package! python browse_and_resolve.py xxxxxx So the question, how do I do this? running on a windows machine with python27 and the pybonjour package installed, the two examples work from the pybonjour page, but what command do I run to discover iOS devices using the scripts included on my network? or will this only discovery services running on my pc that i run this script on! I want to be able to discover iOS devices that appear on my network automatically, will be running a script later on based on this, but first I want to just discover a iOS devices as soon as it appear/disappears on my wifi network. Trying to use pybonjour but not sure if it is what I need. ![]()
0 Comments
Leave a Reply. |