
Primitives
Simple Media Access Controller (SMAC) for the HCS08 Reference Manual, Rev. 2.0
3-18
Freescale Semiconductor
If the device is not in promiscuous mode, and a “standard” packet is received, the packet is discarded
without notifying the application that a packet has been received, and the receiver is re-enabled.
This function also affects the TX function; the effect of NOT setting the promiscuous mode (default) is
that transmission adds the 0xFF7E to the header packet and thus the maximum data length is limited minus
2 bytes. Setting promiscuous mode disables this appending of the header.
Prototype
void MLMESetPromiscuousMode(bool_t );
Arguments
bool_t:
This is a boolean value that indicates if the promiscuous mode is on (TRUE) or off (FALSE).
Returns
Nothing
Usage
Call this function to set SMAC’s promiscuous mode.
3.1.24
MLMETestMode
For evaluating RF circuitry and doing certification testing, radio test modes are required. The
MLMETestMode function enables a number of radio tests. These include the following:
•
PRBS9 Mode — Repeatedly sends out a 64-byte packet using a PRBS9 algorithm. All packets that
are transmitted in this mode are identical. The data is produced by the function call.
•
Force_idle — Places the radio back into idle mode
•
Continuous RX — Places the radio into receive mode and allows developers to look for any
spectral issues related to the RX section of the radio. Also, this mode can be used to measure the
static RX current for the radio.
•
Continuous TX without modulation — CW mode that allows characterization of the TX spectral
output with no modulation
•
Continuous TX with modulation — CW mode that allows characterization of the TX spectral
output with modulation
Prototype
smacErrors_t MLMETestMode(smacTestMode_t);
Arguments
smacTestMode_t
The test mode selected.