Net.Linkstate R/O Property

Top  Previous  Next

 

Function:

Returns current link status of the Ethernet port of the device.

Type:

Enum (pl_net_linkstate, byte)

Value Range:

0- PL_NET_LINKSTAT_NOLINK: No physical Ethernet link exists at the moment (the Ethernet port of the device is not connected to a hub).

1- PL_NET_LINKSTAT_10BASET: The Ethernet port of the device is linked to a hub (or directly to another device) at 10Mbit/sec.

2- PL_NET_LINKSTAT_100BASET: The Ethernet port of the device is linked to a hub (or directly to another device) at 100Mbit/sec.

See Also:

on_net_link_change

 


Details

---