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

No alarm when connection between parent and child device lost #42

Open
pieqq opened this issue Jul 25, 2018 · 1 comment
Open

No alarm when connection between parent and child device lost #42

pieqq opened this issue Jul 25, 2018 · 1 comment

Comments

@pieqq
Copy link

pieqq commented Jul 25, 2018

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. Connect the parent device to the child device using Select Child by Address
  3. Simulate a connection loss by turning airplane mode on on the child device.

Expected result

An alarm should go off on the parent device.

Actual result

Nothing happen on the parent device, which keeps saying "Listening..."

Additional information

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).

@brarcher
Copy link
Owner

Hm. I have two devices I'm testing with, Both Android 7. With those, I do see that if one is a parent and one is a child, and the child exits listening, the parent shows Disconnected and had a audible alert.

If you could grab the adb logs from the parent and child device when you see this, that could help in tracking down the issue. Also see if there is a difference between using the Android 8 device for a parent or a child. I do not have an Android 8 device to test again, so maybe there is an issue there.

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