Motorola Mobility Confidential Restricted.
ToiNetEthernetDevice Interface Reference

Description

Technical Preview:

This interface is a TECHNICAL PREVIEW, it may change.

ToiNetEthernetDevice is used to get and to set specific Ethernet device parameters. Changes take effect after ToiNetConfigurationSession::apply().

import "ToiNetEthernetDevice.idl";

Inheritance diagram for ToiNetEthernetDevice:
ToiNetIpDevice

List of all members.

Public Member Functions

ToiNetEthernetDeviceEthernetStatus getEthernetStatus ()

Public Attributes

TToiLinkSpeed
const TToiLinkSpeed LINK_SPEED_UNKNOWN = 0
const TToiLinkSpeed LINK_SPEED_10 = 1
const TToiLinkSpeed LINK_SPEED_100 = 2
const TToiLinkSpeed LINK_SPEED_1000 = 3
TToiDuplexMode
const TToiDuplexMode DUPLEX_MODE_UNKNOWN = 0
const TToiDuplexMode DUPLEX_MODE_HALF = 1
const TToiDuplexMode DUPLEX_MODE_FULL = 2
TToiEthernetFeature
const TToiEthernetFeature ETHERNET_FEATURE_FLOW_CONTROL = 0x1
const TToiEthernetFeature ETHERNET_FEATURE_JUMBO_PACKET = 0x2
const TToiEthernetFeature ETHERNET_FEATURE_AUTO_NEGOTIATE = 0x4
const TToiEthernetFeature ETHERNET_FEATURE_WAKE_ON_LAN = 0x8

Public Types

typedef long TToiLinkSpeed
typedef long TToiDuplexMode
typedef long TToiEthernetFeature

Member Typedef Documentation

The duplex mode.

Bit mask values indicating the ethernet device features availability.

The link speed.


Member Function Documentation

ToiNetEthernetDeviceEthernetStatus ToiNetEthernetDevice::getEthernetStatus ( )

Returns ethernet network device hardware status.

Return values:
statusEthernet network device hardware status.

Member Data Documentation

Duplex full.

This constant can also be accessed from toi.consts.ToiNetEthernetDevice.DUPLEX_MODE_FULL.

Duplex half.

This constant can also be accessed from toi.consts.ToiNetEthernetDevice.DUPLEX_MODE_HALF.

Duplex mode unknown.

This constant can also be accessed from toi.consts.ToiNetEthernetDevice.DUPLEX_MODE_UNKNOWN.

Indicates whether the auto negotiate enabled or not.

This constant can also be accessed from toi.consts.ToiNetEthernetDevice.ETHERNET_FEATURE_AUTO_NEGOTIATE.

Indicates whether the flow control enabled or not.

This constant can also be accessed from toi.consts.ToiNetEthernetDevice.ETHERNET_FEATURE_FLOW_CONTROL.

Indicates whether the jumbo packet enabled or not.

This constant can also be accessed from toi.consts.ToiNetEthernetDevice.ETHERNET_FEATURE_JUMBO_PACKET.

Indicates whether the WOL feature is enabled or not.

This constant can also be accessed from toi.consts.ToiNetEthernetDevice.ETHERNET_FEATURE_WAKE_ON_LAN.

10 megabit

This constant can also be accessed from toi.consts.ToiNetEthernetDevice.LINK_SPEED_10.

100 megabit

This constant can also be accessed from toi.consts.ToiNetEthernetDevice.LINK_SPEED_100.

1 gigabit

This constant can also be accessed from toi.consts.ToiNetEthernetDevice.LINK_SPEED_1000.

Link speed unknown.

This constant can also be accessed from toi.consts.ToiNetEthernetDevice.LINK_SPEED_UNKNOWN.