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.

CC2642R: Connectionless AoA 设备同步问题

Part Number: CC2642R

在sdk中找到了同步命令RTLS_REQ_SET_CREATE_SYNC_PARAMS:RTLSMaster_setCreateSyncParams((rtlsCreateSyncParams_t *)pReq->pData);

仔细查看这里的同步只是单个mac地址的同步,没有找到有关于多个设备同步的代码。

请问:In summary...这个截图里面在sdk中是怎么实现的呢?

  • 在in sunmary的上面的步骤中有说明:

    In the cases where you want to synchronize with the devices in the Periodic Advertiser List, use directly rtlsUtil.scan(), and then verify if all the expected synchronizations have been established using the function rtlsUtil.padv_get_sync_handle_by_responder(). In our example, we added all the periodic advertisers we found during scanning to the Periodic Advertiser List (so we directly use the advertiser_list to verify if all the synchronizations have been established):

    具体的查看Academy中的Setting up RTLS Network in Python for connectionless mode部分

  • Setting up RTLS Network in Python for connectionless mode里面没有看到相关的内容。

    1.把扫描到设备放到advertiser_list 里面就能判断已经同步过了,这是什么逻辑。

    2.RTLSSRV_CL_CTE_IQ_REPORT_EVT:iq上报的时候,看到有个pReport->syncHandle,没有看到mac地址。

    这个pReport->syncHandle应该是每同步一个设备就会有个新的吗,是用户分配的还是协议栈分配的。

    如果我是master和多个slave同步的时候(就如示例一样,和整个advertiser_list 的slave同步),pReport->syncHandle是只有一个还是多个。