bt_dev API
Maksim Yevmenkin
maksim.yevmenkin at gmail.com
Tue Jun 9 22:24:40 UTC 2009
Iain,
> Are you still with us? After 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) flags argument?
> BTOPT_DIRECTION
> BTOPT_TIMESTAMP
i guess its fine, but i still kinda like setopt() call.
> - bt_devclose(s) should not be required?
i'd like to just keep it for clarity. we can turn it into #define if needed
> - ssize_t bt_devsend() return number of bytes sent?
sure
> - bt_devinfo(name, info) add name argument?
no problem
> - struct bt_devinfo state field needs to be genericalised,
i have not look at the source. i'm guessing its probably fine too :)
thanks,
max
More information about the freebsd-bluetooth
mailing list