Skip to main content
Open topic with navigation CAPL Functions » MOST » mostSetMacAdr, mostGetMacAdr

mostSetMacAdr, mostGetMacAdr

Valid for: CANoe DE Note
This function is only available with MOST hardware VN2640, OptoLyzer G2 3150o, and OptoLyzer MOCCA compact 150c.

Function Syntax

Description

The functions set and retrieve the 48 bit MAC address of the network interface controller. The MAC address identifies the network node during Ethernet-over-MOST150 communication (see OnMostEthPkt, outputMostEthPkt).

Parameters

  • channel: Channel of the connected interface
  • macAdr: 48 bit MAC address.

Return Values

Example

mostGetChannelOnMostMacAdrOnMostEthPktoutputMostEthPktmostSetNodeAdr