From owner-freebsd-bluetooth@FreeBSD.ORG Wed Jan 21 20:07:19 2009 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22C091065670; Wed, 21 Jan 2009 20:07:19 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.236]) by mx1.freebsd.org (Postfix) with ESMTP id C5A9E8FC27; Wed, 21 Jan 2009 20:07:18 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so3894699rvf.43 for ; Wed, 21 Jan 2009 12:07:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=7oFCpW9Y5L4PRQGMYVzrWEx91MlKRtB6j545jgWmAbs=; b=gmwmT4gJ2ELdmJHk0yxIW16KVKIkFxFIzr2LjmkMpNd6WPYXkFhIJM8H6fCNYF95OF ZgwIRAg6/WRSF6hDBUd1A6QRC1ozWEm7BdUm3S+9/AHBY6+nLpFLb4PJ4a19TobwIGC1 fX32xJEoEF33T61hkT1My+Gnfchs9fhlRENDE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ACAYoME82vRLXgYyryPDZi8Kn5ud6T4GlyWPUpSA2zOfOUPKxiLKdqSwZ+93nwu1cQ 8y7zVsKg7ki1wkHDeE1Je4Y8retbq21/YI6PE0VmbgGnPPB5YUUTja4l/VSSGU0a2GSW Ns6FLALzJiuWljah7HGvv7tubYxchzt1wYLAM= MIME-Version: 1.0 Received: by 10.141.90.13 with SMTP id s13mr1113417rvl.54.1232568436064; Wed, 21 Jan 2009 12:07:16 -0800 (PST) In-Reply-To: <200901211747.n0LHlJfw039854@lurza.secnetix.de> References: <49760FF0.7000400@incunabulum.net> <200901211747.n0LHlJfw039854@lurza.secnetix.de> Date: Wed, 21 Jan 2009 12:07:16 -0800 Message-ID: From: Maksim Yevmenkin To: freebsd-bluetooth@freebsd.org, bms@incunabulum.net, Alfred Perlstein , Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: Ongoing Bluetooth work; Linux-like APIs? 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: Wed, 21 Jan 2009 20:07:19 -0000 On Wed, Jan 21, 2009 at 9:47 AM, Oliver Fromme wrote: > Bruce M Simpson wrote: > > Alfred Perlstein wrote: > > > ... > > > > I wonder though if anyone has considered implementing the Linux APIs ? > > > > ... > > > > > > That would be good. Please ping about it if you don't see it within > > > a few weeks. > > > > If folk have cycles to look at that, and are interested in following up, > > that is excellent news... > > > > Meanwhile, a good set of pointers would be: > > http://org.csail.mit.edu/pybluez/ > > I'm not exactly sure what the purpose of pybluez is. > Python already supports Bluetooth on FreeBSD out of the box. > I'm controlling several devices via Bluetooth (RFCOMM/SPP) > with Python programs on FreeBSD. It works great. The very > same programs work on NetBSD, too. I haven't tried Linux, > though. i think Bruce is talking about more high level (than bluetooth sockets support) stuff. for example, performing device inquiry, registering service with sdp server etc. while bluez libhci stuff (device inquiry and other general things such as sending and receiving hci commands and events) can be done fairly quickly, sdp api is quite different. Iain Hibbert (of netbsd) and i talking about sdp and how we can make it better. if anyone is working on libhci for freebsd, please let me know. thanks, max