Mlmegetadditionalrfoffset; Smacsetshortsrcaddress - NXP Semiconductors MKW01 Reference Manual

Simple media access controller (smac)
Table of Contents

Advertisement

Primitives
Arguments
uint32_t additionalRFOffset
Returns
gErrorNoValidCondition_c
gErrorNoResourcesAvailable_c The calibration feature was not enabled.
gErrorNoError_c
Usage
Use Connectivity Test (continuous tx unmodulated) and a spectrum analyzer to determine real channel
frequency. Compute the drift and divide to Fstep. Call this function with the result. 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.18

MLMEGetAdditionalRFOffset

This function returns the latest stored frequency drift, or 0 if the feature is not enabled.
Arguments
None.
Returns
uint32_t
The signed value of the drift converted to uint32_t.
3.19

SMACSetShortSrcAddress

This function creates a message of set PIB request type, requesting PHY to change the short source address
of the node. If the message is passed succesfully to PHY, SMAC will set it's own source address variable
to the new value, so that when SMACFillHeader is called, the updated data is filled into the header.
Arguments
uint16_t nwShortAddress: The new value of the 16 bit node address.
Returns
gErrorNoResourcesAvailable_c The PHY layer can not handle this request.
gErrorBusy_c
gErrorNoError_c
MKW01 Simple Media Access Controller (SMAC) Reference Manual, Rev. 0.0
3-32
Signed value of the drift converted to uint32_t.
SMAC was not initialized.
Everything went fine.
PHY is busy and can not process the request.
Everything is normal and the request was processed.
Freescale Semiconductor

Advertisement

Table of Contents
loading

Table of Contents