From owner-freebsd-bluetooth@FreeBSD.ORG Tue Mar 17 16:29:30 2015 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1A0AA9E0 for ; Tue, 17 Mar 2015 16:29:30 +0000 (UTC) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CC71A650 for ; Tue, 17 Mar 2015 16:29:29 +0000 (UTC) Received: by igbue6 with SMTP id ue6so17272188igb.1 for ; Tue, 17 Mar 2015 09:29:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MFaYMCxMt3medVMSigna0gUZQOme7wekdu/b2lL74NM=; b=xDJcZk85B/ohYwubRezhCvDnUZdcxcSmBTrO9hpQvdIlkzBJLcV9vPtLSmoSc+nd3X h9D05kWMJs8gCF/WNcBxrzPkcOwAQbyT0XHuGk0QyXgl6TJk4uum+j3EQstNPXqo49l4 HQeUuMQp5ahHJ54N8YiJtATPY8OIehZoVyPnQPckVlGCVxlIk2I3XaTNljvdRb8wkJkC SkMBHHCp1pajXp8JNYUsb3nkEtnWuTcQBq1MzQPDc8E0JWNAKzCb+dop7nx6XNAb5UEF C4Xrn+a2A2UHXtXNmHc7Oz4AFlM/3jlOqVvrLdq37X6orTqxGi+hQX2TSPORfwmda3Z7 869A== MIME-Version: 1.0 X-Received: by 10.107.6.212 with SMTP id f81mr117178187ioi.37.1426609769223; Tue, 17 Mar 2015 09:29:29 -0700 (PDT) Received: by 10.36.66.74 with HTTP; Tue, 17 Mar 2015 09:29:29 -0700 (PDT) In-Reply-To: References: <0AD7A2F7-37BE-4F6A-9FD6-F6C81B2CAF36@gmail.com> Date: Tue, 17 Mar 2015 09:29:29 -0700 Message-ID: Subject: Re: register HID with SDP error From: Maksim Yevmenkin To: Waitman Gobble Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-bluetooth@freebsd.org" X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2015 16:29:30 -0000 Hello, > I reviewed the HID_SPEC_V11 PDF and think i'm getting closer. > not yet sure about 11 & 12 > > 11) HIDDescriptorList 0x0206 please take a look at section "5.3.4.7 HIDDescriptorList". this is basically usb hid descriptor (so might be a good idea to have usb hid spec handy too). also, and i quote "...The HIDDescriptorList is a data element sequence..." > 12) HIDLANGIDBaseList 0x0207 > > I think 12 is a list of available character encodings > I can't seem to find examples of people using several of the > 'mandatory' attributes. section "5.3.4.8 HIDLANGIDBaseList" :) again this is related to usb :) > I'm not yet certain if i wrote > hid_profile_create_additional_protocol_descriptor_list correctly, it > looks like it's the same list as the protocol descriptor list, except > one level deeper nesting and I think this is supposed to have > reference to the interrupt PSM. At the moment i'm presuming it's the > control channel + 2 -- but I seem to remember seeing an example dump > that shows "Protocol specific parameter #2" with the interrupt > channel. I'll check it out tomorrow. i see Iain already has given you enough details. Thanks Iain!! thanks, max