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.

调试CC2650,使用zigbee的1.2.2a的EZmode温度测量程序每隔15分钟功耗8mA

Other Parts Discussed in Thread: CC2650

在调试CC2650,使用zigbee的1.2.2a的EZmode温度测量程序,协调器与节点上电以后,配对成功,功耗很低。如果协调器断电,或者一开始就只开节点,则节点每隔15分钟功耗很大,8ma左右,持续时间15分钟,然后进入低功耗,15分钟以后,再次功耗很大,8ma。如此反复。请问这个是EZmode协议定义的处理方式吗?还是其它原因造成的。看到所有时间设置,也没有发现哪个地方有问题,这个15分钟不知道从哪里来的,请教一下。


  • /* Rejoin retry backoff silent period timer duration in milliseconds - default 15 minutes according to HA test spec */
    -DREJOIN_BACKOFF=900000

  • 你好,Alvin Chen:

    我的1.2.2a官方demo协议里面,好像没有以上内容,

    “// Polling values/* Rejoin retry backoff silent period timer duration in milliseconds - default 15 minutes according to HA test spec */
    -DREJOIN_BACKOFF=900000”

    只有以下内容,,但是好像即使修改也不启作用。也没有找到REJOIN_BACKOFF的数值定义,因此直接赋值测试,不过,不启作用。

    // Rejoin backoff (silent period ) duration
    uint32 zgDefaultRejoinBackoff = 60000;//REJOIN_BACKOFF;

    // Rejoin scan duration
    uint32 zgDefaultRejoinScan = 20000;//REJOIN_SCAN ;

    if ( pPtr->pReq->rejoinBackoffDuration )
    {
    pPtr->pRsp->has_rejoinBackoffDuration = TRUE;
    pPtr->pRsp->rejoinBackoffDuration = zgDefaultRejoinBackoff;
    }

    if ( pPtr->pReq->rejoinScanDuration )
    {
    pPtr->pRsp->has_rejoinScanDuration = TRUE;
    pPtr->pRsp->rejoinScanDuration = zgDefaultRejoinScan;
    }

    void ZDApp_SetRejoinScanDuration( uint32 rejoinScanDuration )
    {
    zgDefaultRejoinScan = rejoinScanDuration;
    }

    void ZDApp_SetRejoinBackoffDuration( uint32 rejoinBackoffDuration )
    {
    zgDefaultRejoinBackoff = rejoinBackoffDuration;
    }