All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] hid flowchart workup
@ 2006-10-29 20:46 Brad Midgley
  2006-10-30  9:37 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Brad Midgley @ 2006-10-29 20:46 UTC (permalink / raw)
  To: BlueZ development

Hey

Hello from the plane! Just crossed Greenland.

I thought I would work up the HID flowchart while it was still fresh.
Found it's gone a bit cold already. Maybe Albert could pipe in with some
references for example code. Do we need code references for the methods
used before and after dbus changes to hidd?

This is what I pieced together:

1. Enumerate input devices
 (is there a better method than scanning /dev/input/ for mouse*? what
about keyboard?)
2. Any present? Skip to end
3. Start hcid and hidd
4. HID -> HCI
  (I can't put together from my notes what this HID->HCI step meant...)
5. Tell user to make devices discoverable
6. Enumerate input devices again
7. Inquiry (api details)
8. Connect to mouse (api details)
9. Connect to keyboard (api details)
10. Enumerate devices.
11. No devices present still? Jump to 5.
  (Is it no devices or is the test for both keyboard and mouse present?)

Brad

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-10-31 18:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-29 20:46 [Bluez-devel] hid flowchart workup Brad Midgley
2006-10-30  9:37 ` Marcel Holtmann
2006-10-31 18:18   ` Brad Midgley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.