hid

Serial or HID (usb) Communication in iOS (iPhone/iPad)

强颜欢笑 提交于 2020-01-12 03:40:27
问题 I want to get data from glucose meter devices by connecting into iPhone or iPad devices. I have different vendors glucose meters some uses simple HID interface for communicate and other uses serial communication. These are the two possible ways of communication: USB to 30-Pin connector. 3.5 jack to 30-Pin Connector. USB or 3.5 jack will be connected to glucose meter and 30 pin connector will be attached with iDevice. After having hours of research I did not find much help on internet for iOS

How to identify HID Device with information from BluetoothDeviceInfo or vice-versa

北城以北 提交于 2020-01-06 05:25:27
问题 I'm trying to write a program that makes management of Wiimotes paired with Windows a lot simpler and automated. The program uses WiimoteLib (which uses hidsdi.h and setupapi.h) to connect to Wiimote devices, and 32feet (uses Windows Bluetooth API) to automatically pair/unpair devices. The code for the pairer/unpairer is based off of Wiipair. At the moment, the process is a little bumpy and slow, but it works. (But only for one Wiimote) The problem is that my module to pair/unpair Bluetooth

Can't see mouse and keyboard device with usbManager android

 ̄綄美尐妖づ 提交于 2020-01-02 10:04:13
问题 I work on a project where I need get data of keyboard and mouse on a service. I also have to be able to send data to my device hid. To do this, I want use the usb host mode. When I get list of device, I can see a mass storage but no mouse and keyboard. After search, I have seen that usbManager don't return mouse and keyboard device. I have tried to change permissions (on /system/etc/permissions) whitout success). I have run the application USB Device Info and I see mouse and keyboard on linux

python reading HID

血红的双手。 提交于 2020-01-02 08:34:17
问题 I'd like to do a program that takes input from HIDs attached to a linux system and generates MIDI from those. I'm ok on the MIDI side, but I'm struggling on the HID side of things. While this approach works ok (taken from here): #!/usr/bin/python2 import struct inputDevice = "/dev/input/event0" #keyboard on my system inputEventFormat = 'iihhi' inputEventSize = 16 file = open(inputDevice, "rb") # standard binary file input event = file.read(inputEventSize) while event: (time1, time2, type,

Virtual HID-keyboard for OS X

萝らか妹 提交于 2020-01-01 05:07:29
问题 I'm trying to create a virtual bluetooth keyboard client for Mac OS. that means my Mac will serve as a BT KB. I read about the bluetooth API in OS X (in ObjC), and I also found an HID API for Mac (in C) To make this work I understand I need to declare an hid-keyboard-service that should be broadcasted on SDP queries. if I declare an HID service using the HID API, is my service visible/broadcasted on Bluetooth too? (the documents seems to refer to HID with regards to USB only). - are HID

How to capture raw HID input on linux?

空扰寡人 提交于 2019-12-31 08:17:31
问题 Short version of what I want to accomplish : I have a foot pedal (INFINITY-IN-USB-1, if that's of any interest) that is implemented as a generic HID device, and I would like it to be behave as control and alt keys on linux. I'm looking for something on the level on X, i.e. not just individual programs. Longer version : I have this setup working in Windows XP by calling dll RegisterRawInputDevices and GetRawInputData and listening to the input in a hidden windows. All is accomplished with a

Cannot communicate successfully with USB HID device using writefile()

微笑、不失礼 提交于 2019-12-31 04:16:15
问题 I am fairly new to C# as well as windows programming and I am attempting to establish communication between a USB HID device and an app written in c# on a windows xp pc. I have obtained the device path successfully and have used this to establish a valid Handle on the device: IntPtr drive = CreateFile(devicePath, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, IntPtr.Zero, OPEN_EXISTING, FILE_FLAG_DELETE_ON_CLOSE, IntPtr.Zero); This proved to be a valid handle that yields a

Java and HID Communication

旧巷老猫 提交于 2019-12-30 07:40:39
问题 I'm looking to write a Linux/Windows/Mac Java HID controller for a simple wireless HID interface device. I've tinkered around with the USB4Java LibUsb library to no avail, and I've been steered in the direction of the JavaHIDAPI. Unfortunately for me, I really have no idea what I'm doing beyond a pretty decent higher level programming skill set (C#/VB.Net), and switching over to this is killing me. The directions that I found said that I would first need to compile the HIDAPI library found

Need to intercept HID Keyboard events (and then block them)

馋奶兔 提交于 2019-12-29 14:31:13
问题 I've got a RFID USB device that registers as a HID device (A USB Keyboard more or less). I'm looking for a way to capture this input, and block/filter it before it hits the normal keyboard event handler (and outputs the 10 digit RFID code to the console). I would of course have to exclusively capture just this device, and leave the real keyboard input alone (or pass it along). My initial idea was to block the device in UDEV (So the usbhid/event/kbd kernel module didn't bind to it) and write

Is it possible to make a computer behave as a bluetooth HID device?

爱⌒轻易说出口 提交于 2019-12-29 02:43:07
问题 Is it possible to make a computer behave as a bluetooth HID device? That is, given a local machine with a standard USB keyboard plugged into it, other devices could discover this machine and use it as a bluetooth keyboard. I'd like to create a linux or OS X application (or use an existing one, though I've found none) which can behave as described above, but I'm not sure where to start, or if it's even possible. So: Is what I'm describing possible? Are there any existing applications that do