Open topic with navigation CAPL Functions » MOST » mostSetMacAdr, mostGetMacAdrDocumentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
mostSetMacAdr, mostGetMacAdr
Valid for: CANoe DE NoteThis 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
- mostSetMacAdr: See error codes
- mostGetMacAdr:
- >= 0: 48 bit MAC address
- \< 0: See error codes