---
title: "rfcommChannelWriteComplete(_:refcon:status:bytesWritten:)"
framework: IOBluetooth
role: symbol
role_heading: Instance Method
path: "iobluetooth/iobluetoothrfcommchanneldelegate/rfcommchannelwritecomplete(_:refcon:status:byteswritten:)"
---

# rfcommChannelWriteComplete(_:refcon:status:bytesWritten:)

## Declaration

```swift
optional func rfcommChannelWriteComplete(_ rfcommChannel: IOBluetoothRFCOMMChannel!, refcon: UnsafeMutableRawPointer!, status error: IOReturn, bytesWritten length: Int)
```
