سؤال

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top