I have obtained a C project(in the link below) that I'm trying to understand, working on Windows 10, VS2015, with all the required WDK and Windows SDK installed.
[url removed, login to view] (If the link expired, and interested in the job, please contact me.)
It's supposed to recognize two HID devices(one being a bluetooth enabled portable EEG device and the other being its USB receiver, which supposed to receive the incoming signal from the portable eeg device, crypt it according to a key and channel it to us) or at least work with one or each of them, one for the key that encrypts the incoming raw signal from the device and one for processing this raw data.(More information is available in the project)
Instead what happens(as I understand it) is this, it scans the whole HID devices, founds the same device 3 times, and then crashes with [url removed, login to view] blamed on eventViewer.
I need help to sort this(crashing) out to get the raw data readings from the device. I'm not exactly sure what needs to be done, for that reason I'm only putting this job in to micro Project category as a beginning! If it turns out further help needed, we will discuss this after an initial impression of what's wrong with it determined and then move forward.
The only modification I have done is to change the desired VID and PID numbers to match my own devices on the 49th and 52nd line of liepoc.h. When run over command prompt with:
[url removed, login to view] research [url removed, login to view]
it returns 3 connected Eeg devices then crashes, instead 1 or 2(one for receiver one for the device perhaps but from this pov, it doesn't need to count one of them, should be 1 connected device i guess)
selecting a headset type that is different than yours, didn't cause any trouble, so I'm not sure if something else other than providing the correct VID and PID is also required, for example, in the code there is also two more lines that defines the omrn devices ENDPOINT's(given values 0x02 and 0x82) at line 57 and 59 of libpoc.h
Now,when attached the usb dongle and switch-on the device, I get a connection on both USBDview and DeviceManager seeing 4 devices, all with the same VID and PID (1234 and ed02) but only two of them has distinct serialID, corresponding to one receiver and one EEG device. The other two, with long device name something like 000.0.0000.00.14, I don't know anything about.
as for the EventViewer crash reports, I'm sending them all in the project file(with a brief diary of what's been done so far, [url removed, login to view]'s and Apperror's,Information etc written in,few screenshots of EventViewwr for an initial prognosis), along with a Python version of the project, to draw a correspondence between them, maybe it'll help how and what the project does on a different version.