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