Class

IOBluetoothSDPUUID

An NSData subclass that represents a UUID as defined in the Bluetooth SDP spec.

Declaration

@interface IOBluetoothSDPUUID : NSData

Overview

The IOBluetoothSDPUUID class can represent a UUID of any valid size (16, 32 or 128 bits). It provides the ability to compare two UUIDs no matter what their size as well as the ability to promote the size of a UUID to a larger one.

Topics

Initializers

- initWithUUID16:

Initializes a new 16-bit IOBluetoothSDPUUID with the given UUID16

- initWithUUID32:

Creates a new 32-bit IOBluetoothSDPUUID with the given UUID32

+ uuidWithBytes:length:

Creates a new IOBluetoothSDPUUID object with the given bytes of the given length.

+ uuidWithData:

Creates a new IOBluetoothSDPUUID object from the given NSData.

Instance Methods

- getUUIDWithLength:

Returns an IOBluetoothSDPUUID object matching the target UUID, but with the given number of bytes.

- isEqualToUUID:

Compares the target IOBluetoothSDPUUID object with the given otherUUID object.

Type Methods

+ uuid16:

Creates a new 16-bit IOBluetoothSDPUUID with the given UUID16

+ uuid32:

Creates a new 32-bit IOBluetoothSDPUUID with the given UUID32

Relationships

Inherits From