Hello,
I just bought the Mikroe NFC USB Dongle (with NXP PN7150). It is provided with a C example software (Here: http://www.nxp.com/documents/software/SW4335.zip). I tested it on Windows 10, with the provided compiled executable: it worked fine.
Then I tested using the corresponding Eclipse C project. Unfortunatelly I was not able to make it working. It compiles well, but when I run it I am blocked in this function:
int HID_API_EXPORT HID_API_CALL hid_write(hid_device *dev, const unsigned char *data, size_t length)
I wait forever at this function call:
res = GetOverlappedResult(dev->device_handle, &ol, &bytes_written, TRUE/*wait*/);
(hid.c, line 612)
Could you explain me how to get rid of this problem?
Thank you !
Marc
Solved! Go to Solution.
I have also seen this exact behaviour in Windows 10. It hangs at the Windows API call.
The workaround seems to be to unplug/replug the USB device and re-run.
This seems necessary after every rebuild.
We also compiled under Ubuntu for comparison, and this does not show the problem.
I have also seen this exact behaviour in Windows 10. It hangs at the Windows API call.
The workaround seems to be to unplug/replug the USB device and re-run.
This seems necessary after every rebuild.
We also compiled under Ubuntu for comparison, and this does not show the problem.
Yes. Same behavior here. Thank you for your answer.
Hello,
Could you please confirm that you followed all the steps mentioned in the QuickStartGuide_Windows. This file is available in the SW you are using ?
regards,
Estephania
Yes, I confirm. The Eclipse C project is not fully stable.