---
title: hasOpenOBEXConnection()
framework: IOBluetooth
role: symbol
role_heading: Instance Method
path: iobluetooth/obexsession/hasopenobexconnection()
---

# hasOpenOBEXConnection()

Has a successful connect packet been sent and received? This API tells you so.

## Declaration

```swift
func hasOpenOBEXConnection() -> Bool
```

## Return Value

Return Value True or false, we are OBEX-connected to another OBEX entity.

## Discussion

Discussion A “transport” connection may exist (such as a Bluetooth baseband connection), but the OBEX connection may not be established over that transport. If it has been, this function returns true.
