MiMAC_ChannelAssessment Function

MiWi Development Environment

MiWi(TM) Development Environment Help
MiMAC_ChannelAssessment Function
C
BYTE MiMAC_ChannelAssessment(
    BYTE AssessmentMode
);
Description

This is the primary MiMAC interface for the protocol layer to perform the noise detection scan. Not all assessment modes are supported for all RF transceivers. 

This is the primary MiMAC interface for the protocol layer to perform the noise detection scan. Not all assessment modes are supported for all RF transceivers.

Preconditions

MiMAC initialization has been done. 

MiMAC initialization has been done.

Parameters
Parameters 
Description 
BYTE AssessmentMode 
The mode to perform noise assessment. The possible assessment modes are

The mode to perform noise assessment. The possible assessment modes are

 

Returns

A byte to indicate the noise level at current channel. 

A byte to indicate the noise level at current channel.

Remarks

None 

None

Example 1
NoiseLevel = MiMAC_ChannelAssessment(CHANNEL_ASSESSMENT_CARRIER_SENSE);
Example 2
NoiseLevel = MiMAC_ChannelAssessment(CHANNEL_ASSESSMENT_CARRIER_SENSE);
Microchip My Application xx.yy - [Jan 1, 2009]
Copyright © 2009 Microchip Technology, Inc.  All rights reserved.