Mlmepacketconfig; Mlmesetadditionalrfoffset - NXP Semiconductors MKW01 Reference Manual

Simple media access controller (smac)
Table of Contents

Advertisement

Arguments
uint8_t* u8SyncWordValue
Returns
gErrorNoValidCondition_c
gErrorBusy_c
gErrorNoError_c
Usage
Call the function. The application can store the return value in a smacErrors_t variable and handle the error
in case it occurs. For example, if the return value is gErrorBusy_c, the application can wait on this value
until SMAC becomes idle.
3.16

MLMEPacketConfig

This function calls the above three functions with the parameters configured in the packetConfig_t
structure passed by address as the parameter.
Arguments
packetConfig_t* pPacketCfg Pointer to the packetConfig_t structure containing the new values for
Returns
gErrorNoValidCondition_c
gErrorBusy_c
gErrorOutOfRange_c
gErrorNoError_c
Usage
Call the function. The application can store the return value in a smacErrors_t variable and handle the error
in case it occurs. For example, if the return value is gErrorBusy_c, the application can wait on this value
until SMAC becomes idle.
3.17

MLMESetAdditionalRFOffset

This function sets the frequency drift in number of Fsteps (57 Hz on 30MHz platforms, 61 Hz on 32MHz
platforms) passed as parameter to fine tune the central frequency of the channel on MKW01 platforms.
The frequency is updated at the next MLMESetChannelRequest call.
MKW01 Simple Media Access Controller (SMAC) Reference Manual, Rev. 0.0
Freescale Semiconductor
Pointer to the buffer containing the new values for the synchronization
word.
SMAC was not initialized.
SMAC is busy and cannot process the request.
The request was processed.
preamble length, synchronization word size and values.
SMAC was not initialized.
SMAC is busy and cannot process the request.
One of the configuration parameters is out of range.
The request was processed.
Primitives
3-31

Advertisement

Table of Contents
loading

Table of Contents