1.3.2.3.5 MAC_WRP_Status Function

C

SYS_STATUS MAC_WRP_Status
(
    void
);

Summary

The MAC_WRP_Status primitive retrieves the Status of G3 MAC layer(s).

Description

This primitive is intended to be called before using G3 MAC layer(s) to ensure they are ready to be used.

Precondition

MAC_WRP_Open must have been called before calling this function.

Parameters

None.

Returns

Status of G3 MAC layer(s) as a SYS_STATUS code.

Example

SYS_STATUS status;
status = MAC_WRP_Status();
if (status == SYS_STATUS_READY)
{
    // MAC is ready to be used
}

Remarks

None.