Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

HID protocol on C8051 in combination with BlueGiga wt12-A bluetooth module

Status
Not open for further replies.

vojke

Junior Member level 1
Junior Member level 1
Joined
Sep 9, 2010
Messages
19
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Belgrade, Serbia
Visit site
Activity points
1,457
Hello,

recently I started working with few components that I never worked before. C8051F340 uC and BlueGiga WT12-A bluetooth modul. There is a host (PC) on one side and remote device (4 buttons and touch-pad) on the other. The connection between them is bluetooth (enabled by BlueGiga module). I need to develop and implement HID protocol, and I have my doubts here. Namely, there are a lot of tutorials on HID subject, but since I never worked with it before, I have this question to ask you:

This is HID descriptor for example, mouse (remote device):
USAGE_PAGE (Button)
USAGE_MINIMUM (Button 1)
USAGE_MAXIMUM (Button 3)
LOGICAL_MINIMUM (0)
LOGICAL_MAXIMUM (1)
REPORT_COUNT (3)
REPORT_SIZE (1)
INPUT (Data,Var,Abs)
REPORT_COUNT (1)
REPORT_SIZE (5)
INPUT (Cnst,Var,Abs)
USAGE_PAGE (Generic Desktop)
USAGE (X)
USAGE (Y)
LOGICAL_MINIMUM (-127)
LOGICAL_MAXIMUM (127)
REPORT_SIZE (8)
REPORT_COUNT (2)
INPUT (Data,Var,Rel)

I need to implement this descriptor in C (for example) but where? On the side of host, or on the side of remote device? Can someone explain me how this exactly works? Thanks!

Vojke
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top