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 TI-15.4-STACK问题

TI工程师,

    你好,对于simplelink_cc13x0_sdk_1_00_00_13软件包中TI-15.4-STACK的例程,有如下疑问,请帮忙解答一下,谢谢!

    我们的应用中有多个Collector和多个Sensor,想确认下:任意一个Sensor能否获取周围Collector信息,从而自主决定连接到哪个Collector,而不是直接连接到信号最好的Collector?

Best Regards,

Bojian Gong

  • 补充一下:

    我想达到的目的是,一个Sensor能够获取周围Collector设备的信号强度值。不知道有没有其他好的方法?

    谢谢!

  • TI 工程师们,能否帮忙回复一下?

  • 这个功能现在的15.4协议栈里面已经是支持的。

    你可以看先beacon notify indication callback函数,beaconNotifyIndCb就是收到beacon包的处理

  • Hi VV,

        感谢回复!

        按照你的建议,确实可以收到多个Collector的beacon包。但仍有疑问,烦请回复。

        1)首先请帮忙确认一下TI-15.4-STACK能否满足我们的组网要求?

             a)我们的组网中有多个Collector(10个左右),多个Sensor(300左右)。

             b)每个Sensor根据各个Collector的信号强度大小,连接到对应的Collector上,定期传输数据。

            c)Sensor位置变化后,再根据到各个Collector的信号强度大小,连接到另一个Collector上,定期传输数据。

        2)目前测试确认,当连接到某一个Collector后,Sensor就无法接收到各个Collector的beacon包了(BEACON模式和NON-BEACON模式都是一样的)。如何才能让Sensor连接状态下,还能收到beacon包?

    BR,

    Gong Bojian

  • Hi VV,

        能否帮忙回复一下疑问,非常感谢!

    BR,

    Gong Bojian

  • Hi VV,

         beaconNotifyIndCb函数返回的Collector的地址是2个字节的短地址,能否配置使是beacon携带8个字节的扩展地址?

    谢谢,

    Gong Bojian

  • static void beaconNotifyIndCb(ApiMac_mlmeBeaconNotifyInd_t *pData)
    {
    /* check beacon type */
    if(pData->beaconType == ApiMac_beaconType_normal)
    {
    if(parentFound == false)
    {
    /* check if the received beacon is from a
    * coordinator which is in not in the blacklist */
    if(Ssf_findBlackListIndex(
    &pData->panDesc.coordAddress) ==
    JDLLC_INVALID_VALUE)
    {

    。。。。

    }

    黄色的coordAddress是一个结构体,里面有扩展模式地址