RAK3172-E what is the firmware download algorithm?

The uploader is using the YMODEM protocol to send the firmware in binary format.
My colleague shared some info here