1.3.5.1.4 MAC_RF_Status Function

C

SYS_STATUS MAC_RF_Status
(
    void
);

Summary

The MAC_RF_Status primitive retrieves the Status of RF MAC.

Description

This primitive is intended to be called before using RF MAC layer to ensure it is ready to be used.

Precondition

MAC_RF_Init must have been called before calling this function.

Parameters

None.

Returns

Status of RF MAC layer as a SYS_STATUS code.

Example

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

Remarks

None.