set_control_lines
Manually drive DTR and RTS control lines on a serial port to trigger bootloader entry or custom reset circuits.
Instructions
Set the DTR / RTS modem control lines manually (bootloader entry, custom reset circuits).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dtr | No | Drive DTR high (true) or low (false). | |
| rts | No | Drive RTS high (true) or low (false). | |
| port | Yes | Port device from list_ports (e.g. /dev/cu.usbserial-0001, /dev/ttyUSB0, COM3), or a pyserial URL such as socket://host:port, rfc2217://host:port or loop://. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |