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.

CC2640R2F: 主从一体获取不到从机数据

Part Number: CC2640R2F


用示例代码主从一体multi_role进行调试,可以扫描到设备,并可以连接成功。然后再调用multi_role_startDiscovery去发现设备服务,会进入到multi_role_processGATTDiscEvent这个函数,我把几个重要参数打印了,如下图所示:

method: 1
hdr.status: 0
svcStartHdl: 0

由于svcStartHdl=0,导致调用mr_doGattRw函数时,没法打开通知。从而接收不到从机数

请问为什么svcStartHdl会是0呢,问题出在哪里?