Click or drag to resize

EthernetAutodiscoverySetIPTableEntryOnSpecifiedDevice Method

Function to send an IP Table entry for this control system to the specified device.

The device will require its setup (or equivalent) button pressed to acknowledge and process the new entry.


Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static EthernetAutodiscoveryeAutoDiscoveryErrors SetIPTableEntryOnSpecifiedDevice(
	EthernetAutodiscoveryAutoDiscoveredDeviceElement discoveredElement,
	ushort newIdInHexToSetSpecifiedDeviceTo,
	int timeOutInMilliSeconds
)

Parameters

discoveredElement  EthernetAutodiscoveryAutoDiscoveredDeviceElement
Specific device within DiscoveredElementsList.
newIdInHexToSetSpecifiedDeviceTo  UInt16
IP ID of the entry to send. Adds/Modifies an entry within the IPTable on the device
timeOutInMilliSeconds  Int32
Timeout in ms for the device the respond to the autodiscovery command. This call will block until the timeout expires or the device responds to the autodiscovery.

0 specifies no timeout. Infinite specifies this call will block until the device responds to the autodiscovery request.

Return Value

EthernetAutodiscoveryeAutoDiscoveryErrors
EthernetAutodiscoveryeAutoDiscoveryErrors enum indicating failure or success
Exceptions
ExceptionCondition
NotSupportedExceptionEthernet autodiscovery is not supported on this platform. Use DevicePlatform to determine the running platform type.
Remarks
Call will return when autodiscovery stop function is invoked, timeout expires, or the device responds to the autodiscovery command.

Invoke the Query or Query(EthernetAdapterType) to populate the discovered element list.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also