Comments (6)
I've seen that, but the HidFastReadDevice only provides fast read functions (as the name also implies). What I would need is a HidFastWriteDevice that provides fast write operations.
from hidlibrary.
Not really sure. I wrote this almost a decade ago for a project so I can't remember why it was setup that way.
from hidlibrary.
I Had the same issue, plase take a look at my solution here:
#11
from hidlibrary.
Please see my solution too:
#11 (comment)
from hidlibrary.
I recently changed my project from another Hid library towards the HidLibrary because of issues in unit testing that were not fixed. It was not too complicated to migrate the project and it's up and running right now. The first tests showed a stable communication.
The only thing I'm struggeling is that writing many data over Hid reports is very slow. A google search brought me to this issue and I assume that this also is the problem in my case.
As far as I see there is no way of fixing this performance issue with the official version from the NuGet server, right? It seems that the only solutions proposed above are implemented on forks or copies of the HidLibrary.
Are there any plans to add a possibility to "ignore" the IsConnected check?
from hidlibrary.
The HidFastReadDevice class essentially replicates the HidDevice class but skips the IsConnected check. This is already part of the library, so I feel like we could close this issue if that solves your problem.
from hidlibrary.
Related Issues (20)
- Linux Support HOT 2
- Delay in writing Feature Report
- I plan to make XML docs for HidLibrary, how would you prefer I submit PRs? HOT 2
- Can't Locate Any Connected Devices? HOT 1
- HidReport Data Length is Read-Only? WIN 10 Issue?
- Migrate to standard/core. HOT 1
- Unable to cast object of type 'WhereEnumerableIterator`1[HidLibrary.HidDevice]' to type 'HidLibrary.HidDevice[]'.
- Data just contains 0's HOT 3
- LIbrary methods don't see connected devices HOT 1
- Only Receiving the Second HID Report from 2D Barcode Scanner HOT 1
- Read(timeout) stuck when no data from device HOT 1
- A number of issues with the overlapped I/O code: do we need it? HOT 10
- Reading multiple reports (USB-HID-KBE) HOT 1
- Trying to read report HOT 4
- UsagePage and Usage should be ushort HOT 1
- I cannot read from buffer asynchronously HOT 1
- Linux OS dll load exception on .Net5.0 linux-x64 build HOT 1
- Operation is not supported on this platform Errors in .Net Standard 2.1 or Greater HOT 4
- NuGet package update ? HOT 2
- Friendly name HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hidlibrary.