Skip to content
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

"Discover Child on Network" feature doesn't work #41

Closed
pieqq opened this issue Jul 25, 2018 · 2 comments
Closed

"Discover Child on Network" feature doesn't work #41

pieqq opened this issue Jul 25, 2018 · 2 comments

Comments

@pieqq
Copy link

pieqq commented Jul 25, 2018

Hello and thanks for developing this app!

I tested it and found a few issues.

App/devices info

ProtectBabyMonitor v0.3 (downloaded from F-Droid)
Devices:

  • Samsung Galaxy S7 edge (Android 8.0.0)
  • Oneplus One (Android 6.x)

Both devices are connected to the same network.

Steps

  1. Start the app on both devices (Samsung = parent device, Oneplus = child device)
  2. On the parent device, click Discover Child on Network

Expected result

The child device is shown.

Actual result

Nothing shows up, no matter how long I wait.

Additional information

The Select Child by Address works fine.

I have another Samsung Galaxy S7 edge (also running Android 8.0.0). If I replace the child device (Oneplus One) with this Samsung Galaxy S7 edge and set it to be a child device, I still cannot see it when clicking Discover Child on Network.

Please let me know what kind of logs I can attach, and how (I'm pretty tech-savvy but I'm not very familiar with Android development).

@pieqq
Copy link
Author

pieqq commented Jul 25, 2018

Hmmm... after retrying tonight, with the same devices, it works! I can now see the child device by clicking on Discover Child on Network. Marking as closed.

@pieqq pieqq closed this as completed Jul 25, 2018
@brarcher
Copy link
Owner

The discovery works by using the mDNS library in Android (though it is called something else). I've seen that the library is a bit finicky in the past, so I would not be surprised if sometimes it does not work. If the issue happens again you are welcome to grab adb logs and I can take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants