Open vaimut opened 2 years ago
Nice catch. Yes, this is something we should probably fix... the problem is that it's hard to test. I really wish we had some automatic test suites for the BLE code... been wanting to set up http://robolectric.org/ which can help with this...
Expected Behavior
If the BLE connection is lost after the 'State' characteristic is set to value '0x01' then the mdoc should stop scanning for UUID and opens a new session if required as per ISO-18013-5
Actual Behavior
The mDoc is still in central client mode scanning for the UUID.
Steps to Reproduce the Problem
Specifications