---
title: HwSendBreak
framework: serialdriverkit
role: symbol
role_heading: Instance Method
path: serialdriverkit/iouserserial/hwsendbreak
---

# HwSendBreak

Sends a linebreak command to the device.

## Declaration

```occ
virtual kern_return_t HwSendBreak(bool sendBreak);
```

## Parameters

- `sendBreak`: A Boolean indicating whether to send a break command.

## Return Value

Return Value kIOReturnSuccess on success, or another value if an error occurs. See Error Codes.

## Discussion

Discussion Override this method and use it to set the break bit on the device.

## See Also

### Programming the Modem

- [HwGetModemStatus](serialdriverkit/iouserserial/hwgetmodemstatus.md)
- [SetModemStatus](serialdriverkit/iouserserial/setmodemstatus.md)
- [HwResetFIFO](serialdriverkit/iouserserial/hwresetfifo.md)
- [HwProgramBaudRate](serialdriverkit/iouserserial/hwprogrambaudrate.md)
- [HwProgramLatencyTimer](serialdriverkit/iouserserial/hwprogramlatencytimer.md)
- [HwProgramMCR](serialdriverkit/iouserserial/hwprogrammcr.md)
- [HwProgramUART](serialdriverkit/iouserserial/hwprogramuart.md)
- [Hardware Constants](serialdriverkit/hardware-constants.md)
