This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Z-Stack 3.0.1 EndDevice 上电后 不能休眠,入网后却可以?

Genius 3030 points
Other Parts Discussed in Thread: Z-STACK

Z-Stack 3.0.1 EndDevice 上电后 不能休眠,入网后却可以,为什么呢?

  • 已知问题请fixed
    ow power mode not entered upon ZED factory new before commissioning
    Issue description:
    High current consumption at ZED startup from factory new before being commissioned into a network.

    Proposed fix:
    Change the following inside osal_pwrmgr.c:

    #include "ZGlobals.h"
    void osal_pwrmgr_init( void )
    {
    #if !defined USE_ICALL && !defined OSAL_PORT2TIRTOS
    #if defined POWER_SAVING && ZSTACK_END_DEVICE_BUILD
    pwrmgr_attribute.pwrmgr_device = PWRMGR_BATTERY; // Default to power conservation for ZED if power saving enabled.
    #else
    pwrmgr_attribute.pwrmgr_device = PWRMGR_ALWAYS_ON; // No power conservation for routing devices.
    #endif
    #endif /* USE_ICALL */
    pwrmgr_attribute.pwrmgr_task_state = 0; // Cleared. All set to conserve
    #if defined USE_ICALL || defined OSAL_PORT2TIRTOS
    pwrmgr_initialized = TRUE;
    #endif /* defined USE_ICALL || defined OSAL_PORT2TIRTOS */
    }
    processors.wiki.ti.com/.../Zigbee_Known_Issues_and_Proposed_Fixes