OBEXAddApplicationParameterHeader(_:_:_:)
Add bytes representing an application parameter to a dictionary of OBEX headers.
Declaration
func OBEXAddApplicationParameterHeader(_ inHeaderData: UnsafeRawPointer!, _ inHeaderDataLength: UInt32, _ dictRef: CFMutableDictionary!) -> OBEXErrorParameters
- 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
OBEXAddAuthorizationChallengeHeader(_:_:_:)OBEXAddAuthorizationResponseHeader(_:_:_:)OBEXAddBodyHeader(_:_:_:_:)OBEXAddByteSequenceHeader(_:_:_:)OBEXAddConnectionIDHeader(_:_:_:)OBEXAddCountHeader(_:_:)OBEXAddDescriptionHeader(_:_:)OBEXAddHTTPHeader(_:_:_:)OBEXAddLengthHeader(_:_:)OBEXAddNameHeader(_:_:)OBEXAddObjectClassHeader(_:_:_:)OBEXAddTargetHeader(_:_:_:)OBEXAddTime4ByteHeader(_:_:)OBEXAddTimeISOHeader(_:_:_:)OBEXAddTypeHeader(_:_:)