Date: Tue, 9 Jun 2009 15:24:39 -0700 From: Maksim Yevmenkin <maksim.yevmenkin@gmail.com> To: Iain Hibbert <plunky@rya-online.net> Cc: freebsd-bluetooth@freebsd.org Subject: Re: bt_dev API Message-ID: <bb4a86c70906091524p507181b4l3ddd45e0e22b6fe1@mail.gmail.com> In-Reply-To: <1244571487.241431.980.nullmailer@galant.ukfsn.org> References: <1244571487.241431.980.nullmailer@galant.ukfsn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bb4a86c70906091524p507181b4l3ddd45e0e22b6fe1>