Contents

OBEXAddNameHeader(_:_:)

Add a CFStringRef to a dictionary of OBEXheaders.

Declaration

func OBEXAddNameHeader(_ name: CFString!, _ dictRef: CFMutableDictionary!) -> OBEXError

Parameters

  • name:

    Name you want to add to the OBEX header dictionary.

  • dictRef:

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

Return Value

Error code, kOBEXSuccess (0) if success.

Discussion

Name header - OBEX Spec, 2.2.2: (2-byte) Null terminated unicode string.

See Also

Miscellaneous