Open larryonoff opened 8 years ago
We agreed with @yaronyg that this issue is not valid now since the issue #1000.
Note that we still need to do this work but we should do it in the context of the perf work that @andrew-aladev is doing. So we need to do this, just not this very moment.
As per @yaronyg email.
Write some basic native tests to validate using just Java code (no TCP, no node) works properly with Bluetooth. The idea is to prove to ourselves that the Bluetooth layer does work reasonably well and therefore we can know that the problem isn’t Bluetooth, it’s our code.
The tests I am asking him to write are:
We don’t have to have the phones perfectly in sync so it’s fine if the tests launch by someone hitting a button on each phone.
These tests are only intended to run manually and only on the phones at Evgeni’s desk.
If these tests pass reasonably then it demonstrates that Bluetooth is reasonably reliable and the issues we are fighting are in our code, they aren’t something fundamentally broken in Bluetooth.
If these tests don’t pass… well… then we need to rethink what we want to do with Android. We do have another option which is to use WiFi hot spots but there are some very scary security issues there.