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

# OBEXAddApplicationParameterHeader(_:_:_:)

Add bytes representing an application parameter to a dictionary of OBEX headers.

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

## Parameters

`inHeaderData`

Application parameter data - should be tag/length/value triplets.

`inHeaderDataLength`

Length of application parameter data.

`dictRef`

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

## Return Value

Error code, kOBEXSuccess (0) if success.

## Discussion

Application Request/Response Parameter headers - OBEX Spec, 2.2.11: 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)