#import <CNMEthernetSystemDiscoverer.h>
◆ ethernetSystemDiscovererWithDelegate:
Constructs a system discoverer with the delegate specified as parameter.
- Parameters
-
delegate | delegate to call back when there is anything to report |
- Returns
- system discoverer over ethernet
◆ openWithNetworkInterface:
- (BOOL) openWithNetworkInterface: |
|
(NSString *) |
interface |
|
Open CogNamer on the specified interface.
- Parameters
-
interface | the name of the interface, specify nil to listen on all available interfaces |
- Returns
- YES, if UDP port is opened succesfully, NO otherwise
◆ sendRestartPacketToIpAddress:withMacAddress:username:password:
- (void) sendRestartPacketToIpAddress: |
|
(NSString *) |
ipAddress |
withMacAddress: |
|
(NSData *) |
macaddress |
username: |
|
(NSString *) |
username |
password: |
|
(NSString *) |
password |
|
|
| |
Sends restart packet to the device with the specified IP.
- Parameters
-
ipAddress | the device ip address (use nil for full broadcast) |
macaddress | the device MAC address |
username | The username credential |
password | The password credential |
◆ startDeviceQueryWithDeviceTypeFilter:
- (BOOL) startDeviceQueryWithDeviceTypeFilter: |
|
(CNMCogNamerDeviceType) |
deviceTypeFilter |
|
Start system discovering with the optionally spcified device type filter.
- Parameters
-
deviceTypeFilter | filters the results for the specified device type, pass nil to bypass filter |
- Returns
- YES, if query is started, NO if port is not available
◆ startDeviceQueryWithDeviceTypeFilter:discoverMisconfigured:
Start system discovering with the optionally spcified device type filter.
- Parameters
-
deviceTypeFilter | filters the results for the specified device type, pass nil to bypass filter |
misconfigured | discovers misconfigured devices too |
- Returns
- YES, if query is started, NO if port is not available
The documentation for this class was generated from the following file: