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.

GAPCentralRole_StartDiscovery( )函数使用多次会失效

Other Parts Discussed in Thread: CC2541

在 CC2541 的 simpleBLESwitch 例程

因为我要一直搜索从机, 所以每当 GAP_DEVICE_DISCOVERY_EVENT事件没有找到相应的设备时, 就调用 GAPCentralRole_StartDiscovery( DEVDISC_MODE_ALL, TRUE, FALSE); 以继续寻找设备, 但是我发现循环了十几次都没有我要找的设备时, 就再也没有产生GAP_DEVICE_DISCOVERY_EVENT事件了。

请问这是什么原因?