gErrorNoValidCondition_c
Usage
Call the function
MLMESetChannelRequest(newChannel);
3.8
MLMEGetChannelRequest
This function returns the current channel.
Prototype
channels_t MLMEGetChannelRequest(void);
Arguments
None
Returns
channels_t (uint8_t)
The current RF channel.
Usage
Call
MLMEGetChannelRequest();
3.9
MLMEPAOutputAdjust
This function adjusts the output power of the transmitter.
Prototype
smacErrors_t MLMEPAOutputAdjust(uint8_t u8PaValue);
Arguments
uint8_t u8PaValue
Returns
gErrorOutOfRange_c
gErrorBusy_c
gErrorNoError_c
MKW01 Simple Media Access Controller (SMAC) Reference Manual, Rev. 0.0
Freescale Semiconductor
The MKW01 SMAC is not initialized.
NOTE
Be sure to enter a valid channel between 0 and
(gTotalChannels - 1).
8-bit value for the output power desired. Values 1– 31 are required.
u8Power exceeds the maximum power value gMaxOutputPower_c
(0x1F).
The MKW01 SMAC is busy or PHY is busy.
The action is performed.
Primitives
3-27