Closed dhalbert closed 4 years ago
Stop()
as a MIDI message, ran into one typo in the existing code and fixed it.simpletest
example. We need to wait for the connected device to start sending messages to us to have writes work properly. A 1-second delay was sufficient;0.5 seconds was not.
This goes in hand with https://github.com/adafruit/circuitpython/pull/2799. Don't allocate packet buffer until we're connected. At that time we know the MTU of the connection and therefore know how big the packet buffer can be.