MiMAC_SetPower Function

MiWi Development Environment

MiWi(TM) Development Environment Help
MiMAC_SetPower Function
C
BOOL MiMAC_SetPower(
    BYTE outputPower
);
Description

This is the primary MiMAC interface for the protocol layer to set the output power for the RF transceiver. Whether the RF transceiver can adjust output power depends on the hardware implementation.

Preconditions

MiMAC initialization has been done.

Parameters
Parameters 
Description 
BYTE outputPower 
RF transceiver output power. 
Returns

A boolean to indicates if setting output power is successful.

Remarks

None

Example
// Set output power to be 0dBm
MiMAC_SetPower(TX_POWER_0_DB);
Microchip My Application xx.yy - [Jan 1, 2009]
Copyright © 2009 Microchip Technology, Inc.  All rights reserved.