Inherits from NSObject
Declared in LEConnectInfo.h

Overview

The Connect Info represent generic info about an IO (service) attached to a device.

Tasks

Other Methods

Check for equality

Properties

connectID

An identifier used to uniquely identify and address the service. The device is guaranteed not to have two services with the same connectID at the same time

@property (nonatomic, readonly) uint8_t connectID

Discussion

An identifier used to uniquely identify and address the service. The device is guaranteed not to have two services with the same connectID at the same time

Declared In

LEConnectInfo.h

firmwareVersion

The firmware revision of the attached IO as received from the device

@property (nonatomic, readonly) LERevision *firmwareVersion

Discussion

The firmware revision of the attached IO as received from the device

Declared In

LEConnectInfo.h

hardwareVersion

The hardware revision of the attached IO as received from the device

@property (nonatomic, readonly) LERevision *hardwareVersion

Discussion

The hardware revision of the attached IO as received from the device

Declared In

LEConnectInfo.h

hubIndex

The index of the port on the Hub the IO is attached to. If the index is higher than or equal to 50 the service is an internal service

@property (nonatomic, readonly) uint8_t hubIndex

Discussion

The index of the port on the Hub the IO is attached to. If the index is higher than or equal to 50 the service is an internal service

Declared In

LEConnectInfo.h

typeEnum

The type of the IO. Use the type property to get the raw type number as it received from the device

@property (nonatomic, readonly) LEIOType typeEnum

Discussion

The type of the IO. Use the type property to get the raw type number as it received from the device

Declared In

LEConnectInfo.h

typeString

The type of the IO as a string - useful for printing in debug statements

@property (nonatomic, readonly) NSString *typeString

Discussion

The type of the IO as a string - useful for printing in debug statements

Declared In

LEConnectInfo.h

Class Methods

stringFromInputType:

Format an LEIOType as a string - useful for printing in debug statements

+ (NSString *)stringFromInputType:(LEIOType)type

Parameters

type

The type to format as a string

Discussion

Format an LEIOType as a string - useful for printing in debug statements

Declared In

LEConnectInfo.h

Instance Methods

isEqualToConnectInfo:

Return YES if this connect info is equal to info.

- (BOOL)isEqualToConnectInfo:(LEConnectInfo *)info

Parameters

info

The connect info to check for equality with

Discussion

Return YES if this connect info is equal to info.

Declared In

LEConnectInfo.h