• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 

Write Feature report with .NET component

Started by TRudolphi, July 27, 2009, 03:05:03 pm

Previous topic - Next topic

TRudolphi

I was trying the .NET component of nrComm.Hid in Visual c# 2008, but I can not figure out
how to send / write a Feature or Output report.

In the C++ Builder component this is working very fine:

unsigned char buffer[3] = {0,1,2};
nrHid1->WriteFeature(buffer,3);

In the .NET component the above function is not present only a Write(), but that's not working.

How must I solve this in visual C#?

Thanks,

Thomas Rudolphi

PS: The inputbytes are correctly received via the OnDataReceived event.

Roman Novgorodov

Hello

Unfortunately, the current version of nrComm NET does not support HID feature writing.
We are going to release new big version of nrComm NET in the second half of August.

The NrHid.Write() method can be used for HID report output. Please note that first byte of data array should contain HID report ID.

Roman Novgorodov



DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.