Contents

RxError

Reports errors that occurred when receiving data from the device.

Declaration

virtual kern_return_t RxError(bool overrun, bool gotBreak, bool framingError, bool parityError);

Parameters

  • overrun:

    A Boolean value indicating whether a buffer overrun error occurred.

  • gotBreak:

    A Boolean value indicating whether a break error occurred.

  • framingError:

    A Boolean value indicating whether a framing error occurred.

  • parityError:

    A Boolean value indicating whether a parity error occurred.

Return Value

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

Discussion

Call this method when you encounter an error getting data from the device.

See Also

Transmitting and Receiving Data