Cognex Mobile Barcode 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 // Created by Krisztian Gyuris on 27/08/14.
6 // Copyright (c) 2014 Krisztian Gyuris. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
11 
12 @interface CNMEthernetSystemDiscoverer : NSObject
13 
21 + (CNMEthernetSystemDiscoverer *)ethernetSystemDiscovererWithDelegate:(id<CNMSystemDiscoveredDelegate>)delegate;
22 
29 - (BOOL)openWithNetworkInterface:(NSString *)interface;
30 
34 - (void)close;
35 
42 - (BOOL)startDeviceQueryWithDeviceTypeFilter:(CNMCogNamerDeviceType)deviceTypeFilter;
43 
51 - (BOOL)startDeviceQueryWithDeviceTypeFilter:(CNMCogNamerDeviceType)deviceTypeFilter discoverMisconfigured:(BOOL)misconfigured;
52 
56 - (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;
57 
61 - (void)sendFlashPacketWithMacAddress:(NSData*)macAddress;
62 
71 - (void)sendRestartPacketToIpAddress:(NSString*)ipAddress withMacAddress:(NSData*)macaddress username:(NSString*)username password:(NSString*)password;
72 
73 @end
void close()
Close CogNamer.
Definition: CNMEthernetSystemDiscoverer.m:208
Definition: CNMEthernetSystemDiscoverer.h:12