I'm looking for a short example of how to use the xmodem module with pySerial (I'm assuming this is possible).
The documentation says that the send() and recv() methods take a 'stream' parameter. Can I just pass the pySerial object as the stream parameter ??, or maybe the ser.fileno() ??