Mlmephysoftreset; Mlmescanrequest - NXP Semiconductors MKW01 Reference Manual

Simple media access controller (smac)
Table of Contents

Advertisement

Primitives
gErrorNoValidCondition_c
Usage
Call
MLMEPAOutputAdjust(u8PaValue);
3.10

MLMEPhySoftReset

The MLMEPhySoftReset function is called to perform a software reset to the PHY and MKW01 SMAC
state machines.
Prototype
smacErrors_t MLMEPHYSoftReset(void);
Arguments
None
Returns
gErrorNoError_c
gErrorNoValidCondition_c
Usage
Call
MLMEPHYSoftReset();
Implementation
This function creates a set transceiver state request message with force transceiver off field set and sends
it to PHY.
3.11

MLMEScanRequest

This function creates an ED request message to the PHY. If the channel passed as parameter is different
from the current channel, this function changes the channel before requesting the ED.
Prototype
smacErrors_t MLMEScanRequest(channels_t u8ChannelToScan);
Arguments
channels_t u8ChannelToScan: Channel to be scanned.
Returns
gErrorNoError_c
MKW01 Simple Media Access Controller (SMAC) Reference Manual, Rev. 0.0
3-28
The MKW01 SMAC is not initialized.
NOTE
Be sure to enter a valid value for the PA output adjust.
If the action is performed.
If the MKW01 SMAC is not initialized.
Everything is normal and the scan will be performed.
Freescale Semiconductor

Advertisement

Table of Contents
loading

Table of Contents