Return-Path: From: Gilbert Gao To: Marcel Holtmann CC: "linux-bluetooth@vger.kernel.org" Subject: RE: BlueZ question about HID profile Date: Tue, 6 Jan 2015 02:25:32 +0000 Message-ID: <7FF7EC0D6ACE2E4297FA998A42F07AD6195AF433@QS-MBX02.benq.corp.com> References: <7FF7EC0D6ACE2E4297FA998A42F07AD6195AF357@QS-MBX02.benq.corp.com> In-Reply-To: Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Dear Marcel, Thank you very much! But now I'm not very clear about BlueZ HID implementation. Could you help to point out how to modify for a HID device role or any sample code? Best Regards, Gilbert -----Original Message----- From: Marcel Holtmann [mailto:marcel@holtmann.org] Sent: Tuesday, January 06, 2015 9:38 AM To: Gilbert Gao Cc: linux-bluetooth@vger.kernel.org Subject: Re: BlueZ question about HID profile Hi Gilbert, > Here is an emergent question about BlueZ feature: > I read the doc "supported-features.txt", which says BlueZ supports HID host. > And my question is whether HID device is supported? > Or can I use BlueZ HID profile to implement the Bluetooth HID device such as a Bluetooth mouse or keyboard? it should be pretty simple to implement a HID device role. There have been external projects in the past that did this. The reason why this is not in BlueZ is mainly due to the fact that we would need to get the input events from some kind of source. So if you have that figured out, then it should be simple to provided HID device role. Regards Marcel **********************Confidentiality Notice************************ The opinions and views expressed in this e-mail are solely those of the author and do not necessarily represent our company and its affiliates. If this e-mail is not originally intended for you, or received by you in error, do not disclose its content to anyone and delete it immediately. This e-mail may contain information that is legally privileged, confidential or exempt from disclosure.