Skip to main content
Open topic with navigation CAPL Functions » MOST » mostGetLockEx

mostGetLockEx

Valid for: CANoe DE

Function Syntax

long mostGetLockEx (long channel);

Description

The function returns the lock status of the connected MOST hardware. In contrast to mostGetLock(), the additional states “Stable Lock” and “Critical Unlock” are considered according to MOST specification 2.3.

Parameters

  • channel: Channel of the connected MOST hardware.

Return Values

  • 0: Unlock
  • 1: Lock
  • 2: Stable Lock
  • 3: Critical Unlock
  • \< 0: See error codes

Example

mostGetChannelmostGetLockOnMostStableLockOnMostCriticalUnlock