AnsweredAssumed Answered

[Mikroe NFC USB Dongle] Unable to get the Eclipse C example project working

Question asked by Marc de V. on May 15, 2020
Latest reply on May 30, 2020 by Marc de V.


I just bought the Mikroe NFC USB Dongle (with NXP PN7150).  It is provided with a C example software (Here: 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 !