Home | History | Annotate | Download | only in cts-usb-accessory

Lines Matching refs:endpoints

37     int *endpoints = (int *)arg;
44 ret = usb_device_bulk_transfer(sDevice, endpoints[0], buffer, sizeof(buffer), 1000);
57 usb_device_bulk_transfer(sDevice, endpoints[1], message, strlen(message), 1000);
133 fprintf(stderr, "Endpoints not found\n");
142 int endpoints[2];
144 endpoints[0] = ep1->bEndpointAddress;
145 endpoints[1] = ep2->bEndpointAddress;
147 endpoints[0] = ep2->bEndpointAddress;
148 endpoints[1] = ep1->bEndpointAddress;
150 pthread_create(&th, NULL, message_thread, (void *)endpoints);