Primitives
MKW01 Simple Media Access Controller (SMAC) Reference Manual, Rev. 0.0
Freescale Semiconductor
3-31
Arguments
uint8_t* u8SyncWordValue
Pointer to the buffer containing the new values for the synchronization
word.
Returns
gErrorNoValidCondition_c SMAC was not initialized.
gErrorBusy_c
SMAC is busy and cannot process the request.
gErrorNoError_c
The request was processed.
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
preamble length, synchronization word size and values.
Returns
gErrorNoValidCondition_c SMAC was not initialized.
gErrorBusy_c
SMAC is busy and cannot process the request.
gErrorOutOfRange_c
One of the configuration parameters is out of range.
gErrorNoError_c
The request was processed.
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.