Benjamin Riggs
Benjamin Riggs
Cleric.xml line 109
I should have a chance to figure out the problems with my PR this week. It's extrapolated from code that's working in the wild, but I clearly missed something. I...
I'm specifically referring to [these](https://github.com/abcminiuser/lufa/pull/103/files#diff-5e900a9e6badabaeb6eb2e6c9a904b9eR530). `_BOS_L` & friends calculate the length, while the `_BOS_D` macros concatenate everything. In the end it works, but the inputs have to be wrapped in...
@jpliew My code only looks shorter because I've hidden the complexity in some macro voodoo: https://github.com/abcminiuser/lufa/pull/103/commits/dbd4afe37406f60517e839d97425eaa382f9012c#diff-5e900a9e6badabaeb6eb2e6c9a904b9eR517 It does have the added benefit of being very easy to add additional BOS...
Finally working on Windows. @jpliew This is what you were looking for.
I have a product in the wild that has this working and I extracted this example from it, but I clearly missed a part. I should have time this week...
While very long overdue, this is now updated and working. I've even included some JS to demonstrate functionality. It's tested on both Windows & OS X.
Rebased onto master to accommodate copyright changes.
I'm not super familiar with doxygen, so I'm struggling to see why my `\ref`s aren't working correctly: ``` /.../lufa/Demos/Device/LowLevel/WebUSB/MS_OS_20_Device.h:49: warning: unable to resolve reference to `BOS_DESCRIPTOR' for \ref command /.../lufa/Demos/Device/LowLevel/WebUSB/WebUSBDevice.h:63:...
Also, both `WebUSBDevice.h` and `MS_OS_20_Device.h` are essentially library files rather than user-land, so perhaps they should live deeper in the library. I'm not sure where, however.