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是已加入网络的终端设备的正确状态。

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    /**
    * 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 */
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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

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