USB MIDI end point config #3312
Unanswered
chaabanihoussem
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using midi test example esp idf and the board shows up as midi input and output
what needs to change here so it shows as input only when connected to PC on pocket midi
`static const uint8_t s_midi_cfg_desc[] = {
// Configuration number, interface count, string index, total length, attribute, power in mA
TUD_CONFIG_DESCRIPTOR(1, ITF_COUNT, 0, TUSB_DESCRIPTOR_TOTAL_LEN, 0, 100),
};
`
I tried these and nothing shows up
TUD_MIDI_DESCRIPTOR(ITF_NUM_MIDI, 4, 0, (0x80 | EPNUM_MIDI), 64),TUD_MIDI_DESCRIPTOR(0, 1, 0, EPNUM_MIDI, 64), TUD_MIDI_DESC_HEAD(0, 4, 1),\ TUD_MIDI_DESC_JACK_DESC(1, 1),\ TUD_MIDI_DESC_EP(0x81, 64, 1),TUD_MIDI_DESC_HEAD(0, 4, 1),\ TUD_MIDI_DESC_JACK_DESC(0, 1),\ TUD_MIDI_DESC_EP(0x81, 64, 1),\ TUD_MIDI_JACKID_OUT_EMB(1),thanks
Beta Was this translation helpful? Give feedback.
All reactions