ZigBee/SMAC - Doubt  about gMacRxOnWhenIdle_c

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ZigBee/SMAC - Doubt  about gMacRxOnWhenIdle_c

1,336 Views
UC3MZigbeeGroup
Contributor I
Hello!

I have a doubt about the values that this attribute (gMacRxOnWhenIdle_c) can take.  The documentation says that it can be TRUE or FALSE but in my application it is 4.  Does it have a special meaning?  I mean, can the antenna be in more than two states?  Or does this mean just TRUE?

Thanks in advance.

Regards!

--
Alban Edit: title too vague renamed

Message Edited by Alban on 2007-04-20 05:52 PM

Labels (1)
0 Kudos
2 Replies

335 Views
AlanCollins
Contributor V

There are no states for RxOnWhenIdle.

If TRUE, the device goes to RX mode when Idle.

If FALSE, the device use polling to retrieve messages from its parent. It can sleep when idle...

some of the internal code would validate this setting by using a simply if (RxOnWhenIdle)... So if you have a value = 4, it will work in some cases, but if there is a code that uses the if (TRUE == RxOnWhenIdle), then your code won't function correctly.

I recommend you to use TRUE and FALSE values.

0 Kudos

335 Views
NLFSJ
Contributor III

Hi,

Please use the standard values (TRUE/FALSE). The others are used internally for the beacon tree feature.

I hope this helps.

Regards,

Nina

0 Kudos