This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

[ZIGBEE] SLEEPY ZED CONFIG

SDK: 14.1.0

CHIP: 52840

MULTI PROTOCOL

Hi, I want to know zed rf on off switching mechanism and configure on/off interval time.

I(current) - t(time) graph

What function I can setup rf on/off time?

What is the exact meaning of these functions?

zb_set_ed_timeout(ED_AGING_TIMEOUT_256MIN);

zb_set_keepalive_timeout(ZB_MILLISECONDS_TO_BEACON_INTERVAL(3000));

zb_sleep_set_threshold(20);

Parents
  • Hi

    I would suggest checking out the Zigbee Light Control example in our our Thread & Zigbee SDK, and specifically the Sleepy End Device behavior that make the CPU enter sleep mode to conserve energy. 

    As for the functions you are referring to:

    zb_set_ed_timeout: Set the end device's timeout. Use it on the end device to specify the End Device timeout period used in ED timeout requests.

    zb_set_keepalive_timeout: Used to set the keep alive timeout. You can specify how often a device should poll its parent.

    zb_sleep_set_threshold: Used to get sleep threshold value from the stack (in milliseconds).

    Best regards,

    Simon

Reply
  • Hi

    I would suggest checking out the Zigbee Light Control example in our our Thread & Zigbee SDK, and specifically the Sleepy End Device behavior that make the CPU enter sleep mode to conserve energy. 

    As for the functions you are referring to:

    zb_set_ed_timeout: Set the end device's timeout. Use it on the end device to specify the End Device timeout period used in ED timeout requests.

    zb_set_keepalive_timeout: Used to set the keep alive timeout. You can specify how often a device should poll its parent.

    zb_sleep_set_threshold: Used to get sleep threshold value from the stack (in milliseconds).

    Best regards,

    Simon

Children
  • Hi, Thanks for reply. I am newbie in zigbee stack. 

    I have some questions for understanding zigbee world.

    zb_set_ed_timeout: Set the end device's timeout. Use it on the end device to specify the End Device timeout period used in ED timeout requests.

    What is the End Device timeout?

    zb_set_keepalive_timeout: Used to set the keep alive timeout. You can specify how often a device should poll its parent.

    Is this keepalive same to data request? My zed sends data request packet in every 5 seconds for now.

    zb_sleep_set_threshold: Used to get sleep threshold value from the stack (in milliseconds).

    Is the threshold in this function whether rf on time or rf off time? I want to know it is during sleep time or woke time.

Related