I'm trying to do this in C#:
TPCANStatus status = 0;
uint enable = PCANBasic.PCAN_PARAMETER_ON;
status = PCANBasic.SetValue(handle, TPCANParameter.PCAN_BITRATE_ADAPTING,
ref enable, Convert.ToUInt32(Marshal.SizeOf(enable)));
The returned status always equals TPCANStatus.PCAN_ERROR_ILLPARAMTYPE.
This is something that I thought had worked previously.
I'm out of ideas.
The error you are receiving means, that the Parameter is not recognized, so probably your application is using an older version of PCAN-Basic.
The parameter PCAN_BITRATE_ADAPTING is available beginning with the version v4.0.0, which was released on May 21st, 2015.
Please check that your application is using at least this version of PCAN-Basic. The current version isv4.3.0
the problem you posted here is now solved. The question about the illegal client doesn't fit here. Please create a new topic for it and give more details on that. Thanks.