Bart De Lathouwer
Bart De Lathouwer
Ideally `MIDI_CREATE_CUSTOM_INSTANCE` would be renamed to `MIDI_CREATE_CUSTOMMIDI_INSTANCE` , in line with `MIDI_CREATE_CUSTOMSERIAL_INSTANCE`. `MIDI_CREATE_SPECIAL_INSTANCE` could then become `MIDI_CREATE_CUSTOMSERIALANDMIDI_INSTANCE` Alternatively, only renamed `MIDI_CREATE_SPECIAL_INSTANCE` to `MIDI_CREATE_CUSTOMSERIALANDMIDI_INSTANCE` Either way: [update the wiki](https://github.com/FortySevenEffects/arduino_midi_library/wiki/Using-custom-Settings) as part...
I appears that the issue is in `modemRead` The `+CIPRXGET` response indicates the amount of bytes that are ready to be read (the 3rd parameter). `modemread `assumes that indeed these...
> I am using PlatformIO within VisualStudio Code and this macro is not defined in my case, so I can't compile it. And I have had the same problem with...
Attached the updated wiki for the creation MACROs (not sure how to add this to this PR). Should we go ahead with the renaming of the MACROs? [Using-custom-Settings.md](https://github.com/FortySevenEffects/arduino_midi_library/files/10833453/Using-custom-Settings.md)
When using the custom settings, make sure you use either a clone or copy from this repo, not a Release version (eg from the Arduino lib manager). A new release...
I have applied your fix as described above (using `_uartMillis`) and the MKRGSM seem to remain alive (albeit much much slower)
+1 to reopen this issue @FrancMunoz @sandeepmistry This is an issue that will affect all TCP/UDP traffic
Update: MKRGSM still freezes after a while, albeit a bit later than before - sigh.Please reopen this issue as this is a major show stopper
https://github.com/lathoub/Arduino-USBMIDI implements cables (and uses this library to implement the underlying USB calls). See example https://github.com/lathoub/Arduino-USBMIDI/tree/master/examples/CableNumber (specific cable nr) and https://github.com/lathoub/Arduino-USBMIDI/blob/master/examples/SysEx_Teensy4.1/SysEx_Teensy4.1.ino (multiple cables)
@LiamKarlMitchell Add ``` catch (IOException ex) when ((ex.InnerException as SocketException)?.ErrorCode == (int)SocketError.TimedOut) { Message?.Invoke(this, new AsyncTcpEventArgs("Connection timeout", ex)); readLength = -3; } ``` behind: https://github.com/ygoe/AsyncTcpClient/blob/58acf5f03be9691a171d31df0c7ebc87521311dc/AsyncTcpClient/AsyncTcpClient.cs#L231-L249