Rtnl2GetComponentStatus

Rtnl2GetComponentStatus returns the status of the Network Link Layer (NL2) component.

Syntax

Copy
BOOL Rtnl2_API Rtnl2GetComponentStatus( 
  [out]     PRT_COMPONENT_STATUS Status 
);  

Parameters

[out] Status

A PRT_COMPONENT_STATUS value.

Return Value

If the function succeeds, it returns TRUE. If the function fails, it returns FALSE. Call GetLastError to obtain an error code if the function fails.

Possible error codes:

Error code Meaning

RT_ERROR_TIMEOUT_QUERYING_NL2_STATUS

An internal error occurred.

Characteristics

Real-time

Deterministic

No

Local memory usage

Process

External MSpace usage

Internal MSpace usage

System

Yes (Shared Memory)

Yes (Shared Memory, Mutexes)

NL2 process

No

No

Calling process

No

No

Contiguous memory usage

Usage

No

Requirements

Minimum supported version Header Library

eRTOS 1.0 SDK

Rtnl2Component.h

Rtnl2Api.lib

See Also: