int main(void) libusb_context *ctx = NULL; libusb_device_handle *dev = NULL; unsigned char *buf; int transferred, r;