You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Activity
jeroenwalter commentedon Aug 5, 2020
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.
jeroenwalter commentedon Aug 5, 2020
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
Psydis commentedon Aug 5, 2020
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!
jeroenwalter commentedon Aug 5, 2020
It's already configured for netcore 3.1 :)
Psydis commentedon Aug 5, 2020
I know but i'm a maniac ... i love to recompile code, so i can understand it better!!!