Contents

OBEXAddObjectClassHeader(_:_:_:)

Add an object class header to a dictionary of OBEXheaders.

Declaration

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

Parameters

  • inHeaderData:

    Bytes you want to put in the object class header.

  • inHeaderDataLength:

    Length of the bytes you want to put in the object class header.

  • dictRef:

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

Return Value

Error code, kOBEXSuccess (0) if success.

Discussion

Object Class header - OBEX Spec, 2.2.15: Byte sequence.

See Also

Miscellaneous