Skip to main content
Open topic with navigation CAPL Functions » MOST » mostGetNodeAdr, mostGetGroupAdr, mostGetAltPktAdr, mostGetNodePosAdr

mostGetNodeAdr, mostGetGroupAdr, mostGetAltPktAdr, mostGetNodePosAdr

Valid for: CANoe DE

Function Syntax

  • long mostGetNodeAdr(long channel); // form 1
  • long mostGetGroupAdr(long channel); // form 2
  • long mostGetAltPktAdr(long channel); // form 3
  • long mostGetNodePosAdr(long channel); // form 4

Description

Return of the node address, group address, alternative packet address or node position address of the MOST hardware associated with the specified channel.

Parameters

  • channel: Channel of the connected interface.

Return Values

  • NodeAdr: Logical node address
  • GroupAdr: Group address
  • AltPktAdr: Alternative packet address
  • NodePosAdr: Node position address
  • <0: See error codes

Example

mostGetChannelmostSetNodeAdr, mostSetGroupAdr, mostSetAltPktAdr, mostSetOwnAdrOnMostNodeAdrOnMostGroupAdrOnMostNPR