Other Parts Discussed in Thread: Z-STACK
Hi guys,
could you please help me to understand the very strange behavior of my end device running Z-STACK 3.0.2?
I would like the end device to be sleepy. So I wanted to disable the auto polling.
But my problem is following:
- when I remove NWK_AUTO_POLL directive, it has NO effect, the device is still polling coordinator
- when I define POLL_RATE=0 in the preprocessor settings, it also have no effect, the rate is still taken from f8wConfig.cfg
- when I adapt the setting in f8wConfig.cfg and set there -DPOLL_RATE=0, the device is no longer able to join, it seems that polling is completely disabled, even during the join procedure
So.. my main question is:
- how should I disable auto polling so that joining keeps working?
- why the POLL_RATE defined in preprocessor settings is overridden by f8wConfig.cfg
- why setting of -DPOLL_RATE=0 in the config disables polling completely, also during join/rejoin etc...
What is the correct approach? When I used Z-STACK 1.2 I think it was only necessary to disable NWK_AUTO_POLL and that was all.. In 3.0.2 it does not seem to be that easy
Thanks a lot!