Expand description
hexaTune FFI adapter — C ABI functions for Flutter/Dart integration.
All functions use caller-owned buffers (pointer + length pattern). Return values: 0 = success, negative = error code.
Structs§
- HtpAt
Parse Result - Parse result returned by
htp_at_parse. - HtpSlice
- A byte slice descriptor for FFI (pointer + length).
Functions§
- htp_
at_ ⚠encode - Encodes an AT command string into the output buffer.
- htp_
at_ ⚠parse - Parses an AT command from a byte buffer.
- htp_
encode_ ⚠to_ packets - Full pipeline: encode AT command → SysEx → USB MIDI packets.
- htp_
sysex_ ⚠frame - Frames payload bytes into a SysEx message.
- htp_
sysex_ ⚠unframe - Extracts payload from a SysEx message.
- htp_
usb_ ⚠depacketize - Reassembles SysEx bytes from USB MIDI 4-byte packets.
- htp_
usb_ ⚠packetize - Converts SysEx bytes to USB MIDI 4-byte packets.