ZigBee/SMAC - Doubt  about gMacRxOnWhenIdle_c

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

ZigBee/SMAC - Doubt  about gMacRxOnWhenIdle_c

1,485 次查看
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

标签 (1)
0 项奖励
回复
2 回复数

484 次查看
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 项奖励
回复

484 次查看
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 项奖励
回复