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.

CC1310功耗问题

在测试sensor的功耗时,我把reporting Time和polling Time都修改为5分钟。通过抓包发现sensor只有在进行第一次发送data的时候,功耗会降下来。那么在连接如网,到发送数据的这一段时间内,功耗一直持续在5-6ma。

1.这段时间内,sensor处于一种什么状态呢?(连接上了网络,主机也分配了短地址   --------    发送数据的这段时间内)

2.如果sensor上电进行扫描,没有扫描到主机,就会一直开着RX。我能设置超时吗?因为测试了扫描时,如果找不到主机,功耗就会一直持续在3ma(在扫描经过多少次之后,关闭RX)

  • 入网时poll rate较高功耗也是很高的,要尽快完成入网。
    请看下面的介绍里面有说明beacon 和non-beacon 是不同的还有FH mode。
    dev.ti.com/.../TI 15.4-Stack Overview.html
    /*! scan duration */
    #define CONFIG_SCAN_DURATION 5


    case Jdllc_deviceStates_scanActive:

    /* ensure RX is on for the scan */
    if(!CONFIG_FH_ENABLE)
    {
    ApiMac_mlmeSetReqBool(ApiMac_attribute_RxOnWhenIdle, true);
    }

    /* Active scan */
    sendScanReq(ApiMac_scantype_active);
    break;

    case Jdllc_deviceStates_scanPassive:
    /* ensure RX is on for the scan */
    if(!CONFIG_FH_ENABLE)
    {
    ApiMac_mlmeSetReqBool(ApiMac_attribute_RxOnWhenIdle, true);
    }
    /* Passive scan */
    sendScanReq(ApiMac_scantype_passive);