Author Topic: Write Feature report with .NET component  (Read 1755 times)

TRudolphi

  • Newbie
  • *
  • Posts: 2
    • View Profile
Write Feature report with .NET component
« on: July 27, 2009, 06:05:03 pm »
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

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: Write Feature report with .NET component
« Reply #1 on: July 28, 2009, 09:26:34 am »
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.