Menu

C# APIs availability

2012-11-22
2012-12-21
  • Emmanuel SALLES

    Emmanuel SALLES - 2012-11-22

    Hi,

    When will the C# version be available? Or dowe have mapping for adaptation?

     
  • vmacari

    vmacari - 2012-11-23

    Hi. There is a beta version of RS232driver and Protocol in C#.

    The protocol test and example projects, shows also how to use the rs232 C# wrapper over C dll.
    The projects can be found in https://sourceforge.net/p/coronissdk/code/360/tree/trunk/pkg_comm_protocol/csharp/

    Please take into account that in order to run example and test projects you have to put all DLLs and property files in the same folder with the assembly binary files.

    Regards, Veaceslav.

     
  • Thierry CHOMAUD

    Thierry CHOMAUD - 2012-11-23

    Hello Emmanuel,

    These projects have not been tested because we have no bandwith.
    I don't know if you have C# competence and some time, but for us (and as a consequence for you) it could be a great opportunity to let finalize the test on these implementation to be able to publish them in a stable release.

    Thanks
    Thierry

     
  • vmacari

    vmacari - 2012-12-04

    You can view in Log file the status of this thread's pool:

    DEBUG Pool is 0% full

    If this pool is 100% full, then something is wrong in the code.

     

    Last edit: vmacari 2012-12-04
  • Emmanuel SALLES

    Emmanuel SALLES - 2012-12-21

    Hi guys,

    I've spent little time for developping a very tiny C# project base on Waveport APIs.
    Local service process is running well! But there is an issue when trying to use RequestResponse process.
    It seams that parameter configuration before sending is not correct even whith only destination node address.

    Please let me know about this issue...

     
  • Thierry CHOMAUD

    Thierry CHOMAUD - 2012-12-21

    Hello Emmanuel,
    It seems that the DynamicStandardParams.groupId is not well initialized in the Wrapper (init with default value Int32.MaxValue that cause the failure of the writing in C native level).
    Here are a new protocol API C# dll with the initialization to 0. Let me know if it resolve temporarly your problem?
    Veaceslav, for you, what must be the default value that must be considered as "empty" into the C native part?

     

    Last edit: Thierry CHOMAUD 2012-12-21
    • vmacari

      vmacari - 2012-12-21

      In C we have a property in each structure named "isSet" that has a bit reserved for each parameter that indicates if parameter has been set or not.

      Probably we should use enumerations (similar to C flags) to identify uninitialized values in C#.

       
  • Emmanuel SALLES

    Emmanuel SALLES - 2012-12-21

    Hello Thierry,

    THe provided DLL fixes the issue.

    Thank you...

     

Log in to post a comment.

MongoDB Logo MongoDB