---
title: OBEXConnectCommandData
framework: IOBluetooth
role: symbol
role_heading: Structure
path: iobluetooth/obexconnectcommanddata
---

# OBEXConnectCommandData

Part of the OBEXSessionEvent structure.

## Declaration

```swift
struct OBEXConnectCommandData
```

## Overview

Overview Is readable when the event is of type kOBEXSessionEventTypeConnectCommandReceived (see OBEXSessionEventTypes).

## Topics

### Initializers

- [init()](iobluetooth/obexconnectcommanddata/init().md)
- [init(headerDataPtr:headerDataLength:maxPacketSize:version:flags:)](iobluetooth/obexconnectcommanddata/init(headerdataptr:headerdatalength:maxpacketsize:version:flags:).md)

### Instance Properties

- [flags](iobluetooth/obexconnectcommanddata/flags.md)
- [headerDataLength](iobluetooth/obexconnectcommanddata/headerdatalength.md)
- [headerDataPtr](iobluetooth/obexconnectcommanddata/headerdataptr.md)
- [maxPacketSize](iobluetooth/obexconnectcommanddata/maxpacketsize.md)
- [version](iobluetooth/obexconnectcommanddata/version.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)

## See Also

### Data Types

- [OBEXSessionEvent](iobluetooth/obexsessionevent.md)
- [OBEXAbortCommandData](iobluetooth/obexabortcommanddata.md)
- [OBEXAbortCommandResponseData](iobluetooth/obexabortcommandresponsedata.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)
