Only first 256 bytes in received message is correct. MacOS and iOS
Donkermand opened this issue · 0 comments
Donkermand commented
In SwiftFlutterMidiCommandPlugin.swift - parseData method:
When receiving sysex message with a size larger than 256 bytes, the data after the first 256 bytes are corrupted.
By setting a breakpoint in the parseData method it can be seen that the value of data.count can be higher than 256, but only the first 256 data bytes are correct.
If a sysex message is larger than 256 bytes, the parser will not find a sysex end byte and the message is lost.
Best regards John Parbo Andersen