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
12typedef NS_ENUM(NSInteger, EthernetDeviceScope)
13{
17 kUnknown = 3
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:13
@ kSubnetLocal
Definition: CNMCogNamerDevice.h:15
@ kLinkLocal
Definition: CNMCogNamerDevice.h:14
@ kRemoteSubnet
Definition: CNMCogNamerDevice.h:16
@ kUnknown
Definition: CNMCogNamerDevice.h:17
Information that describes a discovered system.
Definition: CNMCogNamerDevice.h:24
NSString * defaultGateway
Gets the default gateway of the discovered system.
Definition: CNMCogNamerDevice.h:58
bool isLinkLocalIP
Is this link local ip.
Definition: CNMCogNamerDevice.h:96
BOOL isDhcpEnabled
Gets the enabled state of DHCP of the discovered system.
Definition: CNMCogNamerDevice.h:76
NSString * name
Gets the name of the discovered system.
Definition: CNMCogNamerDevice.h:38
NSString * serialNumber
Gets the serial number of the discovered system.
Definition: CNMCogNamerDevice.h:72
NSString * macAddressFormatted
Gets the formatted MAC address of the discovered system.
Definition: CNMCogNamerDevice.h:63
NSString * firmwareVersion
Gets the firmware version of the discovered system.
Definition: CNMCogNamerDevice.h:86
NSString * ipAddress
Gets the IP address of the discovered system.
Definition: CNMCogNamerDevice.h:43
int port
The port on which the discovered system is listening for DMCC communication.
Definition: CNMCogNamerDevice.h:48
EthernetDeviceScope scope
Used to indicate where the device exists relative to the local host.
Definition: CNMCogNamerDevice.h:111
NSString * subnetMask
Gets the subnet mask of the discovered system.
Definition: CNMCogNamerDevice.h:53
NSData * macAddress
Gets the MAC address of the discovered system.
Definition: CNMCogNamerDevice.h:68
CNMCogNamerDeviceType deviceType
Gets the device type of the discovered system as Cognamer returns it.
Definition: CNMCogNamerDevice.h:28
NSString * domain
Domain of the discovered system.
Definition: CNMCogNamerDevice.h:101
NSString * systemDescription
Description of the discovered system.
Definition: CNMCogNamerDevice.h:91
NSString * modelNumber
Gets the model number of the discovered system.
Definition: CNMCogNamerDevice.h:81
NSString * dnsServer
Dns server of the discovered system.
Definition: CNMCogNamerDevice.h:106
NSString * type
Gets the type of the discovered system.
Definition: CNMCogNamerDevice.h:33