/marlin-binary-protocol

Modified Marlin-Binary-Protocol (Drop heatshrink requirement, use only heatshrink2 which does not require compiling)

Primary LanguagePythonMIT LicenseMIT

Provides implementation of the Marlin Binary Transfer Protocol Mark II as described here: MarlinFirmware/Marlin#14817

Requires:

Usage:

  • python -m binproto2.transfer [-h] [-p PORT] [-b BAUD] [-d BLOCKSIZE] [-r] [-t] [-c] [-x TIMEOUT] source [destination]
  • python -m binproto2.transfer [-h] [-p PORT] [-c] source

As the comments in the PR state, the protocol is a work in progress and will change.

This code is essentially the same as the code provided by user p3p on that pull request.

Look at the provided transfer utility, transfer.py, for example usage.