Skip to main content
Open topic with navigation CAPL Functions » Ethernet » Function Overview » ethGetPhyMedium

ethGetPhyMedium

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

Gets the PHY medium. Only supported for network-based configurations and physical measurement ports.

Parameters

  • port: Ethernet port.
  • phyMedium:
    • 0: kEthernetPhyMediumUnknown
    • 1: kEthernetPhyMediumIEEE_802_3
    • 2: kEthernetPhyMedium100BASE_T1
    • 3: kEthernetPhyMedium1GB_COAX
    • 4: kEthernetPhyMedium1000BASE_T1
    • 5: kEthernetPhyMedium2500BASE_T1
    • 6: kEthernetPhyMedium5000BASE_T1
    • 7: kEthernetPhyMedium10000BASE_T1
    • 8: kEthernetPhyMedium10BASE_T1S

Return Values

  • 0: Failure
  • 1: Success

Example