-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android does not find UPnP devices on wireless network(Xamarin Forms) #87
Comments
Hi, Unfortunately I don't have an S9 to test with, but it should work, it works fine on my S8. There may be a setting causing a problem, but if there is I don't know what it is - there was nothing I had to change o my S8 for it to work for me. I doubt it's setting related. Can you check/confirm the IP address being passed to the communications server object is actually your phone's IP address on the wifi? I've seen issues before where the IP for the cellular modem gets assigned and then you're on the wrong network so it doesn't work. Your code looks like it should get the right IP, but it's hard to be certain without being able to test it. |
Thanks for the response, the IP on the phone is 10.10.7.105, and the IP on the PC is 10.10.7.102. On the PC, I can see M-SEARCH requests from the source IP 10.10.7.105, whether I run my application with RSSDP or SSDPTester app from Google Play. 10.10.7.105 is the IP that I see when I look at the value of localNetwork in the code snippet above. When I run the code above in a process on the PC, it receives a response, but that isn't surprising. |
Odd. |
There's no additional software on this phone - it is at factory settings with developer options turned on. It's ok. It feels like it is coded right. I'm going to set up a separate network for testing in case we have something weird on the business network. I'll let you know if, for some reason, it still doesn't work. |
I have read the FAQ and applied these two answers:
I get notifications but no search results, why?
I don't get search results or notifications?
My code is simple:
I can see the device in Device Spy, and I can see both M-SEARCH and NOTIFY messages in Device Sniffer.
Device and phone are on the same subnet.
My only clue is that the Galaxy S9 test device does not find any UPnP devices on the network using SSDPTester app.
Is there a setting on the phone that is keeping DeviceLocator from receiving UDP traffic?
The text was updated successfully, but these errors were encountered: