CMB SDK iOS
CDMEADiscoverer Class Reference

#import <CDMEADiscoverer.h>

Inheritance diagram for CDMEADiscoverer:

Instance Methods

(NSArray *) - compatibleAccessories
 
(void) - startDiscovery
 
(void) - stopDiscovery
 

Class Methods

(id) + sharedDiscoverer
 

Static Public Attributes

static NSString *const CDMCompatibleAccessoryConnected = @"@"cdmAccessoryConnected"
 
static NSString *const CDMCompatibleAccessoryDisconnected = @"@"cdmAccessoryDisconnected"
 
static NSString *const kCDMAccessory = @"@"accessory"
 
static NSString *const kCDMProtocol = @"@"protocol"
 

Detailed Description

Helper class for discovering Cognex DMCC protocol compatible accessories.

Method Documentation

◆ compatibleAccessories()

- (NSArray*) compatibleAccessories

Returns the currently connected compatible accessories

Returns
an array of the connected accessories, can be empty

◆ sharedDiscoverer()

+ (id) sharedDiscoverer

Returns the shared discoverer object.

Returns
shared discoverer instance

◆ startDiscovery()

- (void) startDiscovery

Starts device discovery. To receive connection related notifications, register for CDMCompatibleAccessoryConnected/CDMCompatibleAccessoryDisconnected notifications.

◆ stopDiscovery()

- (void) stopDiscovery

Stops device discover.

Member Data Documentation

◆ CDMCompatibleAccessoryConnected

+ (NSString* const) CDMCompatibleAccessoryConnected = @"@"cdmAccessoryConnected"
static

Notification name for compatible accessory connected.

◆ CDMCompatibleAccessoryDisconnected

+ (NSString* const) CDMCompatibleAccessoryDisconnected = @"@"cdmAccessoryDisconnected"
static

Notification name for compatible accessory disconnected.

◆ kCDMAccessory

+ (NSString* const) kCDMAccessory = @"@"accessory"
static

Accessory parameter key in NSNotification userInfo dictionary.

◆ kCDMProtocol

+ (NSString* const) kCDMProtocol = @"@"protocol"
static

Protocol parameter key in NSNotification userInfo dictionary.


The documentation for this class was generated from the following file: