openwallet-foundation-labs / identity-credential

Apache License 2.0
155 stars 80 forks source link

If BLE connection is lost before the 'State' characteristic is set to value '0x01', the mdoc doesn't try to reconnect #79

Open vaimut opened 2 years ago

vaimut commented 2 years ago

Expected Behavior

As per ISO 18013-5(8.3.3.1.1.3) Standard If BLE connection is lost before the 'State' characteristic is set to value '0x01', the mdoc should try to reconnect.

Actual Behavior

No reconnection is taking place

Steps to Reproduce the Problem

  1. Perform device engagement using QR code or NFC and set up BLE for device retrieval
  2. Disconnect the connection before the State characteristic is set to value '0x01'. Verify that the mdoc(Holder App) terminates the current BLE connection and tries to re-connect

Specifications

davidz25 commented 1 year ago

Yes, same as issue #85, we should fix this. Nice catch, thanks.