Contents

OBEXAddApplicationParameterHeader(_:_:_:)

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

Declaration

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

See Also

Miscellaneous