Click or drag to resize

EthernetAutodiscoverySetIPTableEntryOnSpecifiedDeviceType(String, UInt16, Int32) Method

Function to send an IP Table entry for this control system to all devices of the specified type.

The devices will require their 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 SetIPTableEntryOnSpecifiedDeviceType(
	string deviceType,
	ushort newIdInHexToSetSpecifiedDeviceTo,
	int timeOutInMilliSeconds
)

Parameters

deviceType  String
Indicates the device type. This type must be present in the currnet DiscoveredElementsList.
newIdInHexToSetSpecifiedDeviceTo  UInt16
New 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