我試圖使用XMODEM協議傳輸文件我看到了此鏈接中提供的解決方案:Please help in using xmodem protocol 但在我的情況下,可以發送文件但不包含此內容,請幫助我... 這裏是我的發送碼: import serial
from xmodem import XMODEM
from time import sleep
s = serial.Serial(port=
我正在嘗試使用XMODEM協議傳輸文件。 我看到的和不理解提供的解決方案:Can I use the xmodem protocol with PySerial? 我看到xmodem package link。 什麼是爲getc方法提供的size價值?它沒有被賦予first link中給出的任何值。 當我使用如second link中所解釋的簡單方法時,我最終得到錯誤:No handlers co