How to programmatically communicate with a software device driver in Java or C#?
-
22-06-2021 - |
문제
Recently I've installed a software device driver for a device that connects to my local machine via USB. How do I communicate with the device? Do I communicate directly with the installed software device driver?
Tools:
- OneTouch Ultra 2 glucometer
- Windows XP
- Meter Drivers for OneTouch(R) Software v1.12.0.0
- Custom Communication Protocols
해결책
The company offers both a "meter driver" and "communication protocols". If you're wanting to write your own software to communicate with the meter, I'd fill out the form on http://www.onetouch.com/software_kit and see what that has to offer.
다른 팁
You would have to use JNI to access the underlying OS. Standard Java provides no hooks into the OS at that level in pure Java.
제휴하지 않습니다 StackOverflow