Skip to content

Mixed Data Set support - #7

Merged
fdetro merged 2 commits into
midi2-dev:mainfrom
timrae:feature/mds_support
Jul 23, 2026
Merged

Mixed Data Set support#7
fdetro merged 2 commits into
midi2-dev:mainfrom
timrae:feature/mds_support

Conversation

@timrae

@timrae timrae commented Jul 3, 2026

Copy link
Copy Markdown

Adds Mixed Data Set (MT=0x5, MDS) message support following the sysex API:

  • mixed_data_set_header_packet / mixed_data_set_payload_packet packet types in extended_data_message.h, with views, is_* predicates and factories
  • mixed_data_set data structure (sharing the sysex data allocator config) with send_mixed_data_set / as_mixed_data_set_packets, spec-correct chunking per M2-104 section 7.9 (16-bit sub-IDs, valid-byte count including header)
  • mixed_data_set_collector reassembling Mixed Data Sets from incoming packets, with up to 16 simultaneous mds_ids, abort, unknown chunk count and out-of-order handling
  • unit tests, docs and examples

Adds Mixed Data Set (MT=0x5, MDS) message support following the sysex API:

* mixed_data_set_header_packet / mixed_data_set_payload_packet packet types
  in extended_data_message.h, with views, is_* predicates and factories
* mixed_data_set data structure (sharing the sysex data allocator config)
  with send_mixed_data_set / as_mixed_data_set_packets, spec-correct chunking
  per M2-104 section 7.9 (16-bit sub-IDs, valid-byte count including header)
* mixed_data_set_collector reassembling Mixed Data Sets from incoming packets,
  with up to 16 simultaneous mds_ids, abort, unknown chunk count and
  out-of-order handling
* unit tests, docs and examples
@timrae

timrae commented Jul 3, 2026

Copy link
Copy Markdown
Author

AI disclosure: I used Claude Fable 5 to create this PR and haven't reviewed it in detail

@timrae timrae changed the title add Mixed Data Set support Mixed Data Set support Jul 3, 2026
@timrae timrae changed the title Mixed Data Set support RFC: Mixed Data Set support Jul 3, 2026
Comment thread inc/midi/mixed_data_set.h Outdated
@timrae timrae changed the title RFC: Mixed Data Set support Mixed Data Set support Jul 13, 2026
@fdetro
fdetro merged commit 3e1e04a into midi2-dev:main Jul 23, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants