This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

READ DATA WRITTEN BY LIBUSB

Hi guys,

I'm on Win7 and I'm writing data from libusb to nrf51 board, my code is

 usb_bulk_write(dev_handle, 0x04, data, WRITE_SIZE, 1000);

When the nrf51 receives the data, where can it access it from exactly? Since the EP is 0x04 for writing, do I just access 0x04 with a pointer in the C embedded code on the nrf51? I'm doing that but I don't get the behaviour I want from the board, which is meant to turn off all its LEDs if it receives the data sent.

Related