Cognex Mobile Barcode Network Discovery SDK
SDK for supporting communication with Cognex Barcode Reader devices
CNMEthernetSystemDiscoverer.h
Go to the documentation of this file.
1//
2// CNMEthernetSystemDiscoverer.h
3// CogNamerApp
4//
5// Copyright (c) Cognex Corporation. All rights reserved.
6//
7
8#import <Foundation/Foundation.h>
10
11@interface CNMEthernetSystemDiscoverer : NSObject
12
20+ (CNMEthernetSystemDiscoverer *)ethernetSystemDiscovererWithDelegate:(id<CNMSystemDiscoveredDelegate>)delegate;
21
28- (BOOL)openWithNetworkInterface:(NSString *)interface;
29
33- (void)close;
34
41- (BOOL)startDeviceQueryWithDeviceTypeFilter:(CNMCogNamerDeviceType)deviceTypeFilter;
42
50- (BOOL)startDeviceQueryWithDeviceTypeFilter:(CNMCogNamerDeviceType)deviceTypeFilter discoverMisconfigured:(BOOL)misconfigured;
51
55- (void)sendNetworkConfigurationToMacAddress:(NSData*)macAddress username:(NSString *)username password:(NSString *)password hostName:(NSString *)hostName useDHCP:(BOOL)useDHCP ipAddress:(NSString *)ipAddress subNetMask:(NSString *)subNetMask gateway:(NSString *)gateway dns:(NSString *)dns domainName:(NSString *)domainName;
56
60- (void)sendFlashPacketWithMacAddress:(NSData*)macAddress;
61
70- (void)sendRestartPacketToIpAddress:(NSString*)ipAddress withMacAddress:(NSData*)macaddress username:(NSString*)username password:(NSString*)password;
71
72@end
Definition: CNMEthernetSystemDiscoverer.h:12
void close()
Close CogNamer.
Definition: CNMSystemDiscoveredDelegate.h:12