Date: Thu, 05 May 2011 15:33:38 +0200 From: Raoul <rmgls@free.fr> To: bluetooth@freebsd.org Subject: opcodes documentation Message-ID: <20110505133338.CEC4AD4834A@smtp5-g21.free.fr>
next in thread | raw e-mail | index | archive | help
hi all,
in the bluetooth man page i read:
SYNOPSIS
bt_devsend(int s, uint16_t opcode, void *param, size_t plen);
...
DESCRIPTION
The bt_devsend() function sends a Bluetooth HCI command with the given
opcode to the provided socket s, previously obtained with bt_devopen(3).
The opcode parameter is expected to be in the host byte order. The param
and plen parameters specify command parameters. The bt_devsend() func-
tion does not modify the HCI filter on the provided socket s. The func-
tion returns 0 on success, or -1 if an error occurred.
grep'ing in netgraph/...
i don't find any opcode other than in bt_devsend...
are they device specifics, or something like read/rwite and so on?
Sorry for thje naive newbie question, but sure some slight
additions to the man page would be appreciated on this topic.
Thanks.
Raoul
rmgls@free.fr
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110505133338.CEC4AD4834A>
