lathoub / Arduino-AppleMIDI-Library

Send and receive MIDI messages over Ethernet (rtpMIDI or AppleMIDI)
Other
308 stars 66 forks source link

very good on mega, not so much on arduino due and esp-12 #39

Closed alan-dodd closed 7 years ago

alan-dodd commented 7 years ago

Hello to everyone. Excellent lib, works fine on mega 2560 + ENC28J60. But not on 'arduino due' or 'esp-12'. (btw on 'uno' it just does not work for scarce memory) On these two boards I managed to get ipv4 working (i can ping the boards, and also send and receive udp packets), but applemidi has sync problems. I captured packets on the net with wireshark, seems to me 'due' and 'esp-12' are sending spourious data in between of the correct packets. Please find attached 2 files with the captured data and comments, and a file with the 2 sketches I used for testing.

debug mixed mega2560.txt debug mixed nodemcu.txt sketches.txt

Alan

chris-zen commented 7 years ago

Hi @alan-dodd I think the problem you are reporting is related to #35, and I have created a fix here #42, could you test it to see if it fixes your problem too ? Thanks

lathoub commented 7 years ago

possible fix, see #42

lathoub commented 7 years ago

Tested on ESP8266 (ESP-12) (Adafruit Huzzah). All OK!