Skip to main content
Open topic with navigation CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » General Functions » Shared Functions » SCC_GetEthernetSettings

SCC_GetEthernetSettings

Valid for:  CANoe DE •  CANoe4SW DE

Function Syntax

void SCC_GetEthernetSettings(byte MacAddress[], byte IPv4Address[], dword& IPv4Available, byte IPv6Address[], dword& IPv6Available, dword& UDPPort, dword& TCPPort)

Description

Gets the configured addresses and ports for the SCC node. These values may originate from the CANoe DE product configuration or from the DLL’s XML configuration.

Parameters

  • MacAddress: Queries the 6 byte MAC address (to the given byte buffer).
  • IPv4Address: Queries the 4 byte IPv4 address (to the given byte buffer).
  • IPv4Available: Gets 1 if IPv4Address is valid, else 0 (via reference).
  • IPv6Address: Queries the 16 byte IPv6 address (to the given byte buffer).
  • IPv6Available: Gets 1 if IPv6Address is valid, else 0 (via reference).
  • UDPPort: Gets the UDP port number for SECC Discovery (via reference).
  • TCPPort: Gets the TCP port number for Vehicle2Grid TP (via reference).

Return Values

Example