serial_change_settings
Change baud rate, data bits, stop bits, or parity on an open serial connection without closing it. Useful for mid-session baud rate changes during bootloader handoff or baud detection.
Instructions
Change serial port settings on an open connection without closing it.
Useful when a device changes baud rate mid-session (e.g. bootloader hands off to OS at a different speed) or during manual baud detection.
Args: session_id: Port name of the session. Optional if only one session is open. baud_rate: New baud rate (e.g. 9600, 115200). None to keep current. data_bits: New data bits (5, 6, 7, or 8). None to keep current. stop_bits: New stop bits (1, 1.5, or 2). None to keep current. parity: New parity ("none", "even", "odd", "mark", "space"). None to keep current.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parity | No | ||
| baud_rate | No | ||
| data_bits | No | ||
| stop_bits | No | ||
| session_id | No |