Skip to content

Sysex Command #38

Open
Open

Description

@Psydis

Is there any methods as "sendSysex" to customize protocol? SendStringData doesn't work fine in my project and I'd like to manage commands from SolidSoils or I fault to use that method.

Thanks

Activity

  1. jeroenwalter commented on Aug 5, 2020

    @jeroenwalter

    If you want to send your own custom sysex messages, then you'll have to write your own method to fill in your sysex message and send it to the Arduino.

    Take a look at the methods SendSysExCommand, SetSamplingInterval or SendStringData https://github.com/SolidSoils/Arduino/blob/master/Solid.Arduino/ArduinoSession.cs for good examples.

    Basically, fill an array with your sysex content and write it to the connection. It's not that hard.

  2. jeroenwalter commented on Aug 5, 2020

    @jeroenwalter

    In my fork for .netcore I have made the methods SendSysEx and SendSysExWithReply that you maybe can use as inspiration.
    https://github.com/jeroenwalter/Arduino/blob/netcore30/Solid.Arduino.Firmata/FirmataSession.cs

  3. Psydis commented on Aug 5, 2020

    @Psydis
    Author

    In my fork for .netcore I have made method SendSysEx and SendSysExWithReply that you maybe can use as inspiration.
    https://github.com/jeroenwalter/Arduino/blob/netcore30/Solid.Arduino.Firmata/FirmataSession.cs

    That's incredible ... I just try to compile your fork some minutes ago on Core 3.1!!! I'll let you know if works!!!
    Thanks!

  4. jeroenwalter commented on Aug 5, 2020

    @jeroenwalter

    It's already configured for netcore 3.1 :)

  5. Psydis commented on Aug 5, 2020

    @Psydis
    Author

    It's already configured for netcore 3.1 :)

    I know but i'm a maniac ... i love to recompile code, so i can understand it better!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions