static ssize_t tellUsbDevice ( BrailleDisplay *brl, unsigned char request, const void *data, size_t length ) { return gioTellResource(brl->gioEndpoint, MT_USB_CONTROL_RECIPIENT, MT_USB_CONTROL_TYPE, request, 0, 0, data, length); }
static int tellResource ( uint8_t request, uint16_t value, uint16_t index, const unsigned char *data, uint16_t size ) { ssize_t result = gioTellResource(gioEndpoint, UsbControlRecipient_Endpoint, UsbControlType_Vendor, request, value, index, data, size); return result != -1; }