Cognex Mobile Barcode Network Discovery SDK
SDK for supporting communication with Cognex Barcode Reader devices
CNMCogNamerDevice.h
Go to the documentation of this file.
1 //
2 // CNMCogNamerDevice.h
3 // CogNamerApp
4 //
5 // Created by Krisztian Gyuris on 11/08/14.
6 // Copyright (c) 2014 Krisztian Gyuris. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import "CNMCogNamerDeviceType.h"
11 
12 typedef NS_ENUM(NSInteger, EthernetDeviceScope)
13 {
18 };
19 
23 @interface CNMCogNamerDevice : NSObject
24 
28 @property CNMCogNamerDeviceType deviceType;
29 
33 @property NSString *type;
34 
38 @property NSString *name;
39 
43 @property NSString *ipAddress;
44 
48 @property int port;
49 
53 @property NSString *subnetMask;
54 
58 @property NSString *defaultGateway;
59 
63 @property NSString *macAddressFormatted;
64 
68 @property NSData* macAddress;
72 @property NSString *serialNumber;
76 @property BOOL isDhcpEnabled;
77 
81 @property NSString *modelNumber;
82 
86 @property NSString *firmwareVersion;
87 
91 @property NSString *systemDescription;
92 
96 @property bool isLinkLocalIP;
97 
101 @property NSString *domain;
102 
106 @property NSString *dnsServer;
107 
112 
113 
114 @end
EthernetDeviceScope
Definition: CNMCogNamerDevice.h:12
int port
The port on which the discovered system is listening for DMCC communication.
Definition: CNMCogNamerDevice.h:48
BOOL isDhcpEnabled
Gets the enabled state of DHCP of the discovered system.
Definition: CNMCogNamerDevice.h:76
EthernetDeviceScope scope
Used to indicate where the device exists relative to the local host.
Definition: CNMCogNamerDevice.h:111
NSString * systemDescription
Description of the discovered system.
Definition: CNMCogNamerDevice.h:91
Definition: CNMCogNamerDevice.h:17
NSString * name
Gets the name of the discovered system.
Definition: CNMCogNamerDevice.h:38
NSString * defaultGateway
Gets the default gateway of the discovered system.
Definition: CNMCogNamerDevice.h:58
Definition: CNMCogNamerDevice.h:16
NSString * ipAddress
Gets the IP address of the discovered system.
Definition: CNMCogNamerDevice.h:43
NSString * domain
Domain of the discovered system.
Definition: CNMCogNamerDevice.h:101
Information that describes a discovered system.
Definition: CNMCogNamerDevice.h:23
Definition: CNMCogNamerDevice.h:15
NSString * modelNumber
Gets the model number of the discovered system.
Definition: CNMCogNamerDevice.h:81
NSString * type
Gets the type of the discovered system.
Definition: CNMCogNamerDevice.h:33
NSString * macAddressFormatted
Gets the formatted MAC address of the discovered system.
Definition: CNMCogNamerDevice.h:63
Definition: CNMCogNamerDevice.h:14
CNMCogNamerDeviceType deviceType
Gets the device type of the discovered system as Cognamer returns it.
Definition: CNMCogNamerDevice.h:28
bool isLinkLocalIP
Is this link local ip.
Definition: CNMCogNamerDevice.h:96
NSString * subnetMask
Gets the subnet mask of the discovered system.
Definition: CNMCogNamerDevice.h:53
NSString * firmwareVersion
Gets the firmware version of the discovered system.
Definition: CNMCogNamerDevice.h:86
NSData * macAddress
Gets the MAC address of the discovered system.
Definition: CNMCogNamerDevice.h:68
NSString * dnsServer
Dns server of the discovered system.
Definition: CNMCogNamerDevice.h:106
NSString * serialNumber
Gets the serial number of the discovered system.
Definition: CNMCogNamerDevice.h:72