
MC1322x SMAC Primitives
MC1322x SMAC Reference Manual, Rev. 1.7
Freescale Semiconductor
3-9
Usage
Simply calls the MLMELinkQuality () then read the LQI value at u8ReturnValue.
NOTE
To get a reliable value from this function, at least one reception must occur
before calling it. The LQI value will keep its value until a new message is
received.
3.2.11
MLMEPAOutputAdjust
This function adjusts the output power of the transmitter.
Table 3-1
shows the output power at the antenna,
minimum (0x00) to maximum (0x11).
Prototype
FuncReturn_t MLMEPAOutputAdjust (uint8_t u8Power );
Arguments
u8Power
8 bit value for the required output power.
Returns
gFailOutOfRange_c
If u8Power exceeds the maximum power value (0x11).
gFailNoValidCondition_cIf the requested power value in conjunction with the actual channel and external
power amplifier (enabled/disabled) do not match a valid configuration.
gSuccess_c
If the action is performed.
Usage
This function can be called with an argument between 0x00 and 0x12.
Table 3-1
shows these values.
Table 3-1. U8PaValue
u8Power
Typical Output Power
1322x-SRB (dBm)
Use for Power
Lock Mode
0x00
-30 dBm
Yes
0x01
-28 dBm
Yes
0x02
-27 dBm
Yes
0x03
-26 dBm
Yes
0x04
-24 dBm
Yes
0x05
-21 dBm
Yes
0x06
-19 dBm
Yes
0x07
-17 dBm
Yes
0x08
-16 dBm
No