- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use BulkOutEndPt and BulkInEndPt instead of BulkEndPt.
int len = 3;
byte[] buf = new byte[len];
buf[0] = (byte)Commands.VR_SET_INTEGRATION_TIME;
buf[1] = (byte)(integrationTime & 0xff);
buf[2] = (byte)((integrationTime >> 😎 & 0xff);
if (myDev.BulkOutEndPt.XferData(ref buf, ref len) == true)
{
{
return Responses.PASSED;
else
return Responses.FAILED;
}
return Responses.INCOMMANDFAILED;
}
else
return Responses.OUTCOMMANDFAILED;
else
if (buf[0] == 0)
len = 1;
if (myDev.BulkInEndPt.XferData(ref buf, ref len) == true)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
BulkEndPoint would point to the first Bulk Endpoint of your device. If it is a OUT endpoint was it configured to send 16 bytes?
If it is a IN endpoint then if it was configured properly then it should have received the data and XferData would have returned success. Please let us know your configuration.
Regards,
Anand