Re: [PATCH hcidump] avrcp: fix name of metadata field

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

 



Hi Lucas,

-----Original Message----- From: Lucas De Marchi
Sent: Friday, September 09, 2011 8:29 AM
To: David Stockwell
Cc: linux-bluetooth@xxxxxxxxxxxxxxx
Subject: Re: [PATCH hcidump] avrcp: fix name of metadata field

Hi David,

On Fri, Sep 9, 2011 at 9:22 AM, David Stockwell
<dstockwell@xxxxxxxxxxxxxxxxx> wrote:
That's fair.  For what it's worth, would this be better as an enum?

Please, don't top-post.

++++ I realized I did it afterwards, sorry. I then decided it would be wasteful to send yet another e-mail (to you, Johan, the devel list, etc.) apologizing.
For most of my e-mail, I am on Windows 7, and I just forgot.

The avrcp parser in hcidump was done entirely with defines... I don't
see any point in changing that.

+++++ At this point, I agree with you, and in fact coded my version the same way. In the Windows/.Net world, they strongly recommend enums because the compilers can provide somewhat better error checking. No matter either way, just something to think about.

Lucas De Marchi
--
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
--
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