ump: handle f0 .. f0 f7 .. f0 f7 .. f7 packets

Support the RFC 4695 sysex segmentation rules where a sysex packet can
be split into multiple chunks using the f0 and f7 patterns like:

begin      f0 ... f0
continue   f7 ... f0
end        f7 ... f7

Add a unit test for the sysex UMP conversion.
This commit is contained in:
Wim Taymans 2024-07-29 09:05:13 +02:00
parent e507c03ad3
commit 802972f1ae
3 changed files with 216 additions and 29 deletions

View file

@ -111,6 +111,7 @@ endif
test('test-spa',
executable('test-spa',
'test-spa-buffer.c',
'test-spa-control.c',
'test-spa-json.c',
'test-spa-utils.c',
'test-spa-log.c',