Skip to content

Reset NFC state after engagement errors - #1989

Closed
JustCallMeC wants to merge 3 commits into
openwallet-foundation:mainfrom
JustCallMeC:resetNfcState
Closed

Reset NFC state after engagement errors#1989
JustCallMeC wants to merge 3 commits into
openwallet-foundation:mainfrom
JustCallMeC:resetNfcState

Conversation

@JustCallMeC

Copy link
Copy Markdown
Contributor

When NFC engagement encounters an error (such as non-OK status on NDEF select or capability container selection), the transceiverThread currently reports the error without releasing or closing the underlying IsoDep instance and resetting nfcIsoDep. This leaves the NFC reader in a wedged state where subsequent NFC taps fail to connect. This adds a block to ensure IsoDep is closed and nfcIsoDep is reset to null after completion or failure.

JustCallMeC and others added 3 commits June 17, 2026 13:07
…entialInvalidException in CredentialData when referencing a deleted KeyStore key.
…t errors.

Signed-off-by: Chandan Aubel <123573557+JustCallMeC@users.noreply.github.com>
davidz25
davidz25 previously approved these changes Sep 8, 2026
@JustCallMeC
JustCallMeC marked this pull request as ready for review September 8, 2026 23:49
@davidz25

davidz25 commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Sorry, I didn't realize this was three commits until after I reviewed it.

@davidz25
davidz25 dismissed their stale review September 8, 2026 23:51

I didn't realize it was three commits until after I approved it.

@davidz25

davidz25 commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

I think there should just be a single commit here. Also please reference the issue you filed to satisfy the "Require Linked Issue" check.

@JustCallMeC JustCallMeC closed this Sep 9, 2026
@JustCallMeC
JustCallMeC deleted the resetNfcState branch September 9, 2026 03:30
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

Successfully merging this pull request may close these issues.

2 participants