Ok, I got the code and looked at it. It looks like you bypassed the .NET assembly that comes with the Fusion Brain. Any particular reason why that was done?
Well, after digging into the history of UsbLibDotNet and then looking up FusionUSB.dll, it looks like UsbLibDotNet is a generic USB device assembly for .NET. Bad thing is, it requires the .INF file or a kernel service to report the devices. Looks like using the FusionUSB.dll will probably be the easiest to work with. I'll start with the facade tonight, as late as it is, I'll probably finish it up tomorrow. I'll see if I can get a FB as well so I can test all the inputs and outputs.
I didn't get home until midnight tonight so no progress on this tonight.
LibUsbDotNet.dll is a wrapper for LibUSB generic USB driver, written in C#.
Both cases you can bypass them and go straight to the source, but then you are on your own with the enumeration and correctly managing the handles. A real pain in a managed environment. If you are using C or something, then probably easiest to go for the source.
And as a heads up, we are using the LibUSB drivers as a standard now, although not sure for howlong, so FusionUSB is outdated.
Also a note is that FusionUSB is a simplistic wrapper with minimal error control. If you dont clear the handle on exit properly, it will never re-initialize the pointer until the program is restarted. That is the biggest reproduceable problem I have had with it so far, but like I said, it is phased out, so I have not edited the source to fix it.
Well, I started using the LibUSBDotNET driver at first but could not enumerate any USB devices until I installed a kernal service. I suppose there was an option to use an .INF file. Which are you using for LibUSBDotNET?
Thanks SonicXtacy02, I was just trying to determine the best way to write this thing.
Work has been hecktick lately, but I finally have some time this weekend to do some testing with the FusionBrain. Hopefully all will go well and I can say that the Facade is complete. Then on to creating the Centrafuse plugin.