<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "IOBluetooth",
  "identifier" : "/documentation/IOBluetooth/OBEXAddWhoHeader(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "IOBluetooth"
    ],
    "preciseIdentifier" : "c:@F@OBEXAddWhoHeader"
  },
  "title" : "OBEXAddWhoHeader(_:_:_:)"
}
-->

# OBEXAddWhoHeader(_:_:_:)

Add bytes of data to a dictionary of OBEXheaders.

```
func OBEXAddWhoHeader(_ inHeaderData: UnsafeRawPointer!, _ inHeaderDataLength: UInt32, _ dictRef: CFMutableDictionary!) -> OBEXError
```

## Parameters

`inHeaderData`

Who header data.

`inHeaderDataLength`

Length of Who header data.

`dictRef`

dictionary you have allocated to hold the headers. Make sure it’s mutable.

## Return Value

Error code, kOBEXSuccess (0) if success.

## Discussion

Who headers - OBEX Spec, 2.2.10: Byte Sequence

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)