---
title: OBEX.h
framework: IOBluetooth
role: collectionGroup
role_heading: API Collection
path: iobluetooth/obex-h
---

# OBEX.h

Public OBEX technology interfaces.

## Overview

Overview Contains generic OBEX constants, structs, and C API used for all OBEX communication over any transport. For specific transport API, see that transport’s C API. For example, if you wanted to know more about the Bluetooth OBEX implementation, see OBEXBluetooth.h. The file also contains API that will assist in the construction and deconstruction of OBEX headers to and from raw bytes, as well as the creation of vCards and vEvents. Included Headers <stdio.h> <stdint.h> <CoreServices/CoreServices.h> <IOBluetooth/IOBluetoothUserLib.h>

## Topics

### Miscellaneous

- [OBEXAddApplicationParameterHeader(_:_:_:)](iobluetooth/obexaddapplicationparameterheader(_:_:_:).md)
- [OBEXAddAuthorizationChallengeHeader(_:_:_:)](iobluetooth/obexaddauthorizationchallengeheader(_:_:_:).md)
- [OBEXAddAuthorizationResponseHeader(_:_:_:)](iobluetooth/obexaddauthorizationresponseheader(_:_:_:).md)
- [OBEXAddBodyHeader(_:_:_:_:)](iobluetooth/obexaddbodyheader(_:_:_:_:).md)
- [OBEXAddByteSequenceHeader(_:_:_:)](iobluetooth/obexaddbytesequenceheader(_:_:_:).md)
- [OBEXAddConnectionIDHeader(_:_:_:)](iobluetooth/obexaddconnectionidheader(_:_:_:).md)
- [OBEXAddCountHeader(_:_:)](iobluetooth/obexaddcountheader(_:_:).md)
- [OBEXAddDescriptionHeader(_:_:)](iobluetooth/obexadddescriptionheader(_:_:).md)
- [OBEXAddHTTPHeader(_:_:_:)](iobluetooth/obexaddhttpheader(_:_:_:).md)
- [OBEXAddLengthHeader(_:_:)](iobluetooth/obexaddlengthheader(_:_:).md)
- [OBEXAddNameHeader(_:_:)](iobluetooth/obexaddnameheader(_:_:).md)
- [OBEXAddObjectClassHeader(_:_:_:)](iobluetooth/obexaddobjectclassheader(_:_:_:).md)
- [OBEXAddTargetHeader(_:_:_:)](iobluetooth/obexaddtargetheader(_:_:_:).md)
- [OBEXAddTime4ByteHeader(_:_:)](iobluetooth/obexaddtime4byteheader(_:_:).md)
- [OBEXAddTimeISOHeader(_:_:_:)](iobluetooth/obexaddtimeisoheader(_:_:_:).md)
- [OBEXAddTypeHeader(_:_:)](iobluetooth/obexaddtypeheader(_:_:).md)
- [OBEXAddUserDefinedHeader(_:_:_:)](iobluetooth/obexadduserdefinedheader(_:_:_:).md)
- [OBEXAddWhoHeader(_:_:_:)](iobluetooth/obexaddwhoheader(_:_:_:).md)
- [OBEXGetHeaders(_:_:)](iobluetooth/obexgetheaders(_:_:).md)
- [OBEXHeadersToBytes(_:)](iobluetooth/obexheaderstobytes(_:).md)

### Data Types

- [OBEXSessionEvent](iobluetooth/obexsessionevent.md)
- [OBEXAbortCommandData](iobluetooth/obexabortcommanddata.md)
- [OBEXAbortCommandResponseData](iobluetooth/obexabortcommandresponsedata.md)
- [OBEXConnectCommandData](iobluetooth/obexconnectcommanddata.md)
- [OBEXConnectCommandResponseData](iobluetooth/obexconnectcommandresponsedata.md)
- [OBEXDisconnectCommandData](iobluetooth/obexdisconnectcommanddata.md)
- [OBEXDisconnectCommandResponseData](iobluetooth/obexdisconnectcommandresponsedata.md)
- [OBEXErrorData](iobluetooth/obexerrordata.md)
- [OBEXGetCommandData](iobluetooth/obexgetcommanddata.md)
- [OBEXGetCommandResponseData](iobluetooth/obexgetcommandresponsedata.md)
- [OBEXPutCommandData](iobluetooth/obexputcommanddata.md)
- [OBEXPutCommandResponseData](iobluetooth/obexputcommandresponsedata.md)
- [OBEXSetPathCommandData](iobluetooth/obexsetpathcommanddata.md)
- [OBEXSetPathCommandResponseData](iobluetooth/obexsetpathcommandresponsedata.md)

### Constants

- [OBEXConnectFlagValues](iobluetooth/obexconnectflagvalues.md)
- [OBEXError](iobluetooth/obexerror.md)
- [OBEXHeaderIdentifiers](iobluetooth/obexheaderidentifiers.md)
- [OBEXNonceFlagValues](iobluetooth/obexnonceflagvalues.md)
- [OBEXOpCodeCommandValues](iobluetooth/obexopcodecommandvalues.md)
- [OBEXOpCodeResponseValues](iobluetooth/obexopcoderesponsevalues.md)
- [OBEXOpCodeSessionValues](iobluetooth/obexopcodesessionvalues.md)
- [OBEXPutFlagValues](iobluetooth/obexputflagvalues.md)
- [OBEXRealmValues](iobluetooth/obexrealmvalues.md)
- [OBEXSessionEventTypes](iobluetooth/obexsessioneventtypes.md)
- [OBEXSessionParameterTags](iobluetooth/obexsessionparametertags.md)
- [OBEXVersions](iobluetooth/obexversions.md)

### Macros

- [OBEX Convenience Macros](iobluetooth/obex-convenience-macros.md)

## See Also

### Reference

- [Bluetooth.h User-Space](iobluetooth/bluetooth-h-user-space.md)
- [IOBluetoothUserLib.h](iobluetooth/iobluetoothuserlib-h.md)
- [IOBluetoothUtilities.h](iobluetooth/iobluetoothutilities-h.md)
- [OBEXBluetooth.h](iobluetooth/obexbluetooth-h.md)
- [OBEXFileTransferServices.h](iobluetooth/obexfiletransferservices-h.md)
- [IOBluetooth Structures](iobluetooth/iobluetooth-structures.md)
- [IOBluetooth Enumerations](iobluetooth/iobluetooth-enumerations.md)
- [IOBluetooth Constants](iobluetooth/iobluetooth-constants.md)
- [IOBluetooth Functions](iobluetooth/iobluetooth-functions.md)
- [IOBluetooth Data Types](iobluetooth/iobluetooth-data-types.md)
