Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

LL-8941 Automatically release USB connection after 5s #761

Merged
merged 1 commit into from
Jan 14, 2022
Merged

Conversation

juan-cortes
Copy link
Contributor

In the context of the singleton paradigm, in order to allow third parties to connect with the device we propose introducing a release timeout that allows automatic disconnection of the USB hold after 5s of inactivity. It takes into account pending actions such as "Allow manager", or "Open app" by clearing the timeout before performing the exchange.

@juan-cortes juan-cortes requested a review from a team as a code owner January 12, 2022 09:48
@juan-cortes juan-cortes requested a review from gre January 12, 2022 09:48
@codecov
Copy link

codecov bot commented Jan 12, 2022

Codecov Report

Merging #761 (ee60579) into master (ae240fb) will decrease coverage by 0.12%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #761      +/-   ##
==========================================
- Coverage   43.56%   43.43%   -0.13%     
==========================================
  Files          81       81              
  Lines        4823     4837      +14     
  Branches      791      792       +1     
==========================================
  Hits         2101     2101              
- Misses       2705     2719      +14     
  Partials       17       17              
Impacted Files Coverage Δ
...ansport-node-hid-singleton/src/TransportNodeHid.ts 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ae240fb...ee60579. Read the comment docs.

@gre gre merged commit 9066578 into master Jan 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants