Contents

OBEXAddLengthHeader(_:_:)

Add a CFStringRef to a dictionary of OBEXheaders.

Declaration

func OBEXAddLengthHeader(_ length: UInt32, _ dictRef: CFMutableDictionary!) -> OBEXError

Parameters

  • length:

    Value of Length header 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

Length header - OBEX Spec, 2.2.4: 4 byte unsigned integer

See Also

Miscellaneous