From owner-freebsd-bluetooth@FreeBSD.ORG Sun Jan 22 08:20:42 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43C4C16A41F for ; Sun, 22 Jan 2006 08:20:42 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95DAB43D53 for ; Sun, 22 Jan 2006 08:20:40 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [192.168.1.254] (really [70.32.199.60]) by mta10.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060122082039.RISV8657.mta10.adelphia.net@[192.168.1.254]>; Sun, 22 Jan 2006 03:20:39 -0500 Message-ID: <43D3404D.3040701@savvis.net> Date: Sun, 22 Jan 2006 00:20:29 -0800 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Markus Brueffer References: <200601211748.00824.markus@brueffer.de> In-Reply-To: <200601211748.00824.markus@brueffer.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@freebsd.org Subject: Re: Missing HCI events X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jan 2006 08:20:42 -0000 Markus, > I've finally found time to sit down and port the kde-bluetooth framework for > FreeBSD. While there are a lot of similarities between the FreeBSD stack and > bluez, I can't find equivalents to some HCI events. great! thanks for doing the work! > While looking for the corresponding #define of EVT_INQUIRY_RESULT_WITH_RSSI, I > found that there are a some events declared in the bluez stack that aren't in > the FreeBSD stack (everything 0x21 and 0x2f). Is there something missing in > the FreeBSD stack? well, yes and no. the particular "inquiry result with rssi" hci event is defined in the bluetooth specification v1.2. freebsd bluetooth stack is v1.1. it is trivial to add required events to ng_hci.h. i will be happy to review and commit the patches for you. thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Fri Jan 27 03:05:36 2006 Return-Path: X-Original-To: freebsd-bluetooth@FreeBSD.org Delivered-To: freebsd-bluetooth@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2B9D16A420 for ; Fri, 27 Jan 2006 03:05:36 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3555143D4C for ; Fri, 27 Jan 2006 03:05:33 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [192.168.1.254] (really [70.32.199.60]) by mta11.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060127030532.WHNQ5278.mta11.adelphia.net@[192.168.1.254]>; Thu, 26 Jan 2006 22:05:32 -0500 Message-ID: <43D98DF2.1060507@savvis.net> Date: Thu, 26 Jan 2006 19:05:22 -0800 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Markus Brueffer References: <200601211748.00824.markus@brueffer.de> <43D3404D.3040701@savvis.net> <200601231245.35687.markus@brueffer.de> In-Reply-To: <200601231245.35687.markus@brueffer.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@FreeBSD.org Subject: Re: Missing HCI events X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2006 03:05:36 -0000 Markus, sorry for the delay. >>>I've finally found time to sit down and port the kde-bluetooth framework >>>for FreeBSD. While there are a lot of similarities between the FreeBSD >>>stack and bluez, I can't find equivalents to some HCI events. >> >>great! thanks for doing the work! > > It has been for too long on my TODO list :) > > In the meanwhile I have most of libkbluetooth compiling and noticed, that a > libhci would be very helpful and could ease future user space > developments/porting dramatically (I bet the GNOME guys will come up with a > bluetooth framework sooner or later as well). How about incorporating such a > lib in the basesystem along with libsdp and libbluetooth (similar to lib_hci > of bluez)? funny you should mention that. someone actually asked me about this a while ago and even promised to start the work. there was a short thread in freebsd-bluetooth http://lists.freebsd.org/mailman/htdig/freebsd-bluetooth/2005-September/000410.html and i also have few email addressed directly to me. you might want to contact this person and ask about the progress. thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Fri Jan 27 10:08:46 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DA1916A420 for ; Fri, 27 Jan 2006 10:08:46 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (dslcustomer-239-113.vivodi.gr [83.171.239.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AABA43D48 for ; Fri, 27 Jan 2006 10:08:45 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id k0RA8el9004902; Fri, 27 Jan 2006 12:08:40 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (ajax.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id k0RA9X0r070534; Fri, 27 Jan 2006 12:09:34 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <43D9F127.5000501@ebs.gr> Date: Fri, 27 Jan 2006 12:08:39 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Thunderbird 1.5 (X11/20060116) MIME-Version: 1.0 To: Maksim Yevmenkin References: <200601211748.00824.markus@brueffer.de> <43D3404D.3040701@savvis.net> <200601231245.35687.markus@brueffer.de> <43D98DF2.1060507@savvis.net> In-Reply-To: <43D98DF2.1060507@savvis.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@freebsd.org Subject: Re: Missing HCI events X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2006 10:08:46 -0000 Maksim Yevmenkin wrote: > Markus, > > sorry for the delay. > >>>> I've finally found time to sit down and port the kde-bluetooth >>>> framework >>>> for FreeBSD. While there are a lot of similarities between the FreeBSD >>>> stack and bluez, I can't find equivalents to some HCI events. >>> >>> great! thanks for doing the work! >> >> It has been for too long on my TODO list :) >> >> In the meanwhile I have most of libkbluetooth compiling and noticed, >> that a libhci would be very helpful and could ease future user space >> developments/porting dramatically (I bet the GNOME guys will come up >> with a bluetooth framework sooner or later as well). How about >> incorporating such a lib in the basesystem along with libsdp and >> libbluetooth (similar to lib_hci of bluez)? It would certainly help me port gnome-bluetooth, since I've been stuck for some time on UUID differences between the two platforms. > funny you should mention that. someone actually asked me about this a > while ago and even promised to start the work. > > there was a short thread in freebsd-bluetooth > > http://lists.freebsd.org/mailman/htdig/freebsd-bluetooth/2005-September/000410.html > > > and i also have few email addressed directly to me. you might want to > contact this person and ask about the progress. That would be nice, indeed. Cheers, Panagiotis