serial_xmodem_send
Send a file to a serial device using XMODEM or XMODEM-CRC protocol. The device must already be in receive mode, as when using a bootloader or rx command.
Instructions
Send a file to the device using XMODEM protocol.
The device must already be waiting to receive (e.g. after a "rx" command or entering a bootloader's receive mode). Supports standard XMODEM (checksum) and XMODEM-CRC (CRC-16) modes.
Args: file_path: Path to the file to send session_id: Port name of the session. Optional if only one session is open. mode: "xmodem" for checksum mode, "xmodem-crc" for CRC-16 mode
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | xmodem | |
| file_path | Yes | ||
| session_id | No |