Skip to main content

Documentation Index

Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

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