[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [bluetooth-dev] Voice on SCO
> -----Original Message-----
> From: Sridhar Medikurthi [mailto:firstname.lastname@example.org]
> Sent: Friday, November 02, 2001 06:19
> To: email@example.com
> Cc: firstname.lastname@example.org
> Subject: [bluetooth-dev] Voice on SCO
> I have seen a mail in Bluetooth Mailing list for
> adding the SCO connection, did any of you try to send
> the Voice data on it, if so what is the way to send.
> And one more thing I didn't understand the following
> HCIADDSCOCONNECTION _IOWR(BT_IOC_MAGIC, 0x17,u8);
This is how you define ioctls. They are used to send
commands to the kernel.
> As I am new to Bluetooth.
> What is 0x17 and other parameters.
_IOWR() is used to define an ioctl which can both write
and read values to and from the kernel. BT_IOC_MAGIC
together with 0x17 is the ID number of the ioctl, and
has nothing to do with Bluetooth. The last argument
defines what argument is passed along with the ioctl,
in this case four bytes.
> If i want to send the voice data what are the
> commands. Can anybody please explain it?
I cannot, since this functionality is not in the OpenBT
stack on SourceForge (yet).
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to email@example.com