From owner-freebsd-bluetooth@FreeBSD.ORG Tue Jun 9 22:24:39 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 C383A106566B for ; Tue, 9 Jun 2009 22:24:39 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-pz0-f195.google.com (mail-pz0-f195.google.com [209.85.222.195]) by mx1.freebsd.org (Postfix) with ESMTP id 99B758FC15 for ; Tue, 9 Jun 2009 22:24:39 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by pzk33 with SMTP id 33so319623pzk.3 for ; Tue, 09 Jun 2009 15:24:39 -0700 (PDT) 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:cc:content-type :content-transfer-encoding; bh=jNqlVP4xTxVr2TEgBeMOfVeVIfpwarvVHiJl67WfBaM=; b=oXSbk4rU0MLjBywXeWME78JFjrp53tpQxIYzXuTB3T1yTlbc6TOZo21+ILjDe2XqfM EpB+dyKIOmo7C+vjaecwOODS5Yd29HTgEUo3qCEk2p9D8qrBnFPUGn/+LovA5ep0iQrl vWy6GZtYLK46I+Xw/Js4gLAgZbuDDkvteSV78= 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 :cc:content-type:content-transfer-encoding; b=i7yk1yQpXIZ/m9dfrJqLz0saqSKJ7On28axb/fo74JEmkgMEJTRq/o+a+wsHXFYWEw I/LGf8rfyo4XHNPPGvNd1NqYIQUlpdU3eAOXWuvcFfJksK0cmDIw26wRldvTO8Zm5yNg tyApOUJ6PGMkrCT5712E7iO2yJH43nLkpkp5g= MIME-Version: 1.0 Received: by 10.114.158.14 with SMTP id g14mr865426wae.150.1244586279219; Tue, 09 Jun 2009 15:24:39 -0700 (PDT) In-Reply-To: <1244571487.241431.980.nullmailer@galant.ukfsn.org> References: <1244571487.241431.980.nullmailer@galant.ukfsn.org> Date: Tue, 9 Jun 2009 15:24:39 -0700 Message-ID: From: Maksim Yevmenkin To: Iain Hibbert Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-bluetooth@freebsd.org Subject: Re: bt_dev API 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: Tue, 09 Jun 2009 22:24:40 -0000 Iain, > Are you still with us? =A0After some delay (and a tan from last week :) I= am > about ready with the bt_dev stuff for NetBSD now (latest dump at > www.netbsd.org:~plunky/btdev-20090609.tar.gz) sorry. i'm completely swamped at $real_job :( > some questions re API still to be resolved though > > - bt_devopen(name, flags) =A0 =A0 =A0 flags argument? > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BTOPT_= DIRECTION > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BTOPT_= TIMESTAMP i guess its fine, but i still kinda like setopt() call. > - bt_devclose(s) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0should not be required? i'd like to just keep it for clarity. we can turn it into #define if needed > - ssize_t bt_devsend() =A0 =A0 =A0 =A0 =A0return number of bytes sent? sure > - bt_devinfo(name, info) =A0 =A0 =A0 =A0add name argument? no problem > - struct bt_devinfo =A0 =A0 =A0 =A0 =A0 =A0 state field needs to be gener= icalised, i have not look at the source. i'm guessing its probably fine too :) thanks, max