Re: [PATCH v3] Bluetooth: btusb: Add routine for applying Intel DDC parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Marcel,

On Mon, 25 May 2015 21:31:47 +0200
Marcel Holtmann <marcel@xxxxxxxxxxxx> wrote:

> Hi Tedd,
> 
> > This patch adds the routine to apply the DDC parameter from device
> > specific ddc file.
> > 
> > Once the device is rest to operational mode, optionally, it can
> > download the device specific configration (DDC) parameters before
> > the BlueZ starts the stack initialization.
> > 
> > It opens the DDC file based on HW_VARIANT and send ID/Value with
> > HCI_Intel_Write_DDC command.
> > 
> > Format of DDC file
> > DDC file consists of one or more number of DDC structure that has a
> > 'Length' field of one octet, DDC 'ID' field of two octets followed by
> > the array of DDC 'Value' that gives the value of parameters itself.
> > 'Length' contains the length of DDC 'ID' and DDC 'Value'.
> > 
> > +------------+----------+
> > | Size(byte) |    Name  |
> > +------------+----------+
> > |      1     | Length   |
> > +------------+----------+
> > |      2     | ID       |
> > +------------+----------+
> > | Length - 2 | Value    |
> > +------------+----------+
> 
> I wonder if we should add some sort of header to this file structure.
> 

Could you explain more about the "header"? DDC header is Length and ID.
The DDC file can have more than one DDC. Do you mean the header for all DDC
contents? Then it will be same as HCI plen.

Also, how do you think about saving this file in ASCII format instead of binary?
then I can add some comments that start with # and ignore the line like bash script.


Regards,
Tedd
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux