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.

End Device 一直处于zstack_DevState_DEV_END_DEVICE状态

Other Parts Discussed in Thread: CC1352P7

你好,我这边SDK使用08_30_01_01 ,协调器使用zc_thermostat_LP_CC1352P7_4_tirtos7_ticlang  ,终端设备使用zed_temperaturesensor_LP_CC1352P7_4_tirtos7_ticlang。终端设备加入网络时一直处于zstack_DevState_DEV_END_DEVICE状态,像请教一下如何解决,或者协调器如何关闭信任认证功能。

  • 您好,

    已经收到了您的案例,调查需要些时间,感谢您的耐心等待。

  • zstack_DevState_DEV_END_DEVICE是已加入网络的终端设备的正确状态。

    /**
     * Device States for the Network Information Read response (@ref
     * zstack_sysNwkInfoReadRsp_t) and the
     * Device State Change indication (@ref zstack_devStateChangeInd_t).
     */
    typedef enum
    {
        /** Initialized - not started automatically */
        zstack_DevState_HOLD = 0,
        /** Initialized - not connected to anything */
        zstack_DevState_INIT = 1,
        /** Discovering PAN's to join */
        zstack_DevState_NWK_DISC = 2,
        /** Joining a PAN */
        zstack_DevState_NWK_JOINING = 3,
        /**
         * ReJoining a PAN in secure mode scanning in current channel,
         * only for end devices
         */
        zstack_DevState_NWK_REJOIN_SEC_CURR_CHANNEL = 4,
        /** Joined but not yet authenticated by trust center */
        zstack_DevState_END_DEVICE_UNAUTH = 5,
        /** Started as device after authentication */
        zstack_DevState_DEV_END_DEVICE = 6,
        /** Device joined, authenticated and is a router */
        zstack_DevState_DEV_ROUTER = 7,
        /** Started as Zigbee Coordinator */
        zstack_DevState_COORD_STARTING = 8,
        /** Started as Zigbee Coordinator */
        zstack_DevState_DEV_ZB_COORD = 9,
        /** Device has lost information about its parent */
        zstack_DevState_NWK_ORPHAN = 10,
        /** Device is sending KeepAlive message to its parent */
        zstack_DevState_NWK_KA = 11,
        /** Device is waiting before trying to rejoin */
        zstack_DevState_NWK_BACKOFF = 12,
        /**
         * ReJoining a PAN in secure mode scanning in all channels,
         * only for end devices
         */
        zstack_DevState_NWK_REJOIN_SEC_ALL_CHANNEL = 13,
        /**
         * ReJoining a PAN in unsecure mode scanning in current channel,
         * only for end devices
         */
        zstack_DevState_NWK_TC_REJOIN_CURR_CHANNEL = 14,
        /**
         * ReJoining a PAN in unsecure mode scanning in all channels,
         * only for end devices
         */
        zstack_DevState_NWK_TC_REJOIN_ALL_CHANNEL = 15,
    } zstack_DevState;

    我不知道如何进一步协助,因为这不是问题。如果ZC将BDB_DEFAULT_TC_REQUIRE_KEY_EXCHANGE设置为FALSE,则ZED也可以将requestNewTrustCenterLinkKey设置为FALSE,然后在加入后不请求新的信任中心链接密钥。

  • 好的,感谢,通过设置requestNewTrustCenterLinkKey,我的问题已经解决