Rtnl2StartComponent

Rtnl2StartComponent starts the Network Link Layer (NL2) component.

Syntax

Copy
BOOL Rtnl2_API Rtnl2StartComponent(); 

Parameters

This function has no parameters.

Return Value

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

Remarks

The NL2 component is included in the wRTOS Runtime. It does not require an additional license.

If Rtnl2StartComponent is called from a Windows application, the function will attempt to start the real-time Subsystem if it is not already started. Rtnl2StartComponent will return FALSE if the Subsystem cannot be started.

Characteristics

Real-time

Deterministic

No

Shutdown-safe

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

Windows contiguous memory usage

Usage

No

Requirements

Minimum supported version Header Library

wRTOS 1.0 SDK

Rtnl2Component.h

Rtfwnl2Api.lib (Windows), Rtnl2Api.lib (RTSS)

See Also: