opcodes documentation

Raoul rmgls at free.fr
Thu May 5 13:51:32 UTC 2011


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 at free.fr


More information about the freebsd-bluetooth mailing list