• @jugglingcats it would be very cool if you could implement the CLI TCP issue. It should be reasonably straightforward.

    In terms of throttling, I guess you'd make the option a drop-down with something like:

    • Auto (default)
    • Force throttling 19 bytes
    • Force throttling 128 bytes
    • Force no throttling (with a warning)

    For flow control, you just need to add jshSetFlowControlEnabled to jshUSARTSetup. It's done in software so should work on all platforms (it's just that ESP32/8266 don't expose it). Ideally you'd modify built_platform_config.py to check for a default_console_cts option that then made a DEFAULT_CONSOLE_CTS_PIN definition that the ESP32 initialisation then checked, so it could be tweaked based on the board.

About

Avatar for Gordon @Gordon started