Sends an error to the remote side.
SDK
- macOS 10.2+
Framework
- IOBluetooth
Declaration
func sendRemoteLineStatus(_ lineStatus: Bluetooth RFCOMMLine Status) -> IOReturn
Parameters
lineStatus
the error type. The error code can be NoError, OverrunError, ParityError or FramingError.
Return Value
An error code value. 0 if successful.