
MC1322x SMAC Primitives
MC1322x SMAC Reference Manual, Rev. 1.7
Freescale Semiconductor
3-7
Returns
TRUE
If promiscuous mode is active.
FALSE
If promiscuous mode is inactive.
Usage
Call MLMEGetPromiscuousMode.
3.2.8
MLMEGetRficVersion
This function is used to read the version number of different hardware and software modules inside the
MC1322x.
Prototype
FuncReturn_t MLMEGetRficVersion(Versioned_Entity_t Entity, uint32_t *Buffer);
Arguments
Entity
The module for which the version is required. The actual possible values are:
– HW_MACA_MC1322X_ID
– SW_SMAC_VERSION
– SW_BOOTSTRAP_VERSION
Buffer
A pointer to the buffer where the version will be written.
Returns
gFailOutOfRange_c
If the requested Entity is not part of the stored ones.
gSuccess_c
If the action is performed.
Usage
•
Declares a variable to store the version.
•
Calls the MLMEGetRficVersion() passing the required Entity identifier and the pointer to store the
version.
3.2.9
MLMEHibernateRequest
This call places the radio into Hibernate mode. Refer to the
MC1322x Reference Manual
for more
information on the operation modes. This low power mode retains the 96Kb of RAM. If no fail is returned,
gSuccess_c is returned after the system wakes up.
Prototype
FuncReturn_t MLMEHibernateRequest(uint8_t u8HibClock, crmSleepCtrl_t SleepCtl);