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