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

If the BLE connection is lost after the 'State' characteristic is set to value '0x01', the mdoc still scans for the UUID #85

Open
vaimut opened this issue Jun 14, 2022 · 1 comment
Labels
library For issues related to the Identity Credential library

Comments

@vaimut
Copy link

vaimut commented Jun 14, 2022

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

  1. Perform device engagement using QR code or NFC and set up BLE for device retrieval
    2.Sending the device request message from the reader
  2. Disconnect the BLE connection immediately after sending the response from the holder

Specifications

  • Version: Android 10(Quince Tart)
  • Platform: Android
    image-2022-03-22-17-18-58-609
    :
@davidz25
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
library For issues related to the Identity Credential library
Projects
None yet
Development

No branches or pull requests

2 participants