Hi,
I'm using the C# Mono Connector (https://github.com/rticommunity/rticonnextdds-connector/tree/csharp).
Its build type is .net framework 3.5 and packed in a way that the build definition is still .net framework 4 and it’s causing problems, since mono on Unity (Linux) supports .net framework 3.5 only.
I’ve passed this by replacing the standard Newtonsoft.Json to Json.Net.Unity3D and everyhing works fine but not all the unit testing are passed, 2 tests failed (GetValidFullObjectSamples and SendAnonymousAndReceiveObjectSamples).
I'll apprecaite your input on this.
Regards,
GS
Hi Gal,
We were debugging the failing tests and we know now the reason and how to fix them for this library.
For the GetValidFullObjectSample test, it seems that there is a limitation in the library that you are using and it fails to parse unsigned longs that have the most significant bit set to one. Therefore the maximum accepted number would be 0x7FFFFFFFFFFFFFFF as for a signed long. Changing the unsigned long value in the test to a valid value fixes the problem, but you have to keep that limitation in mind.
For the SendAnonymousAndReceiveObjectSample test, it seems that the library you are using returns a Dictionary, instead of a instance of the class, when we try to send an object from an anonymous class. If you access to the content of the received sample as a dictionary the test passes. You should access the information in this way if you send this kind of data.
Hope this information helps. Please let us know if you have further questions.
Regards,
Sandra