pub fn soft_reset( connection: &mut Connection, stay_in_bootloader: bool, is_stub: bool, ) -> Result<(), Error>
serialport
Perform a soft reset of the device.