LL_AddWhiteListDevice(address, LL_DEV_ADDR_TYPE_PUBLIC );
discoveryParams.taskID = hciExtApp_TaskID;
discoveryParams.mode = DEVDISC_MODE_ALL;
discoveryParams.nameMode = true;
discoveryParams.whiteList = true;
GAP_DeviceInit( hciExtApp_TaskID, GAP_PROFILE_CENTRAL, 1, IRK, SRK, &hciExtSignCounter );
GAP_DeviceDiscoveryRequest(&discoveryParams);
LL_AddWhiteListDevice(address, LL_DEV_ADDR_TYPE_PUBLIC );
discoveryParams.taskID = hciExtApp_TaskID;
discoveryParams.mode = DEVDISC_MODE_ALL;
discoveryParams.nameMode = true;
discoveryParams.whiteList = true;
GAP_DeviceInit( hciExtApp_TaskID, GAP_PROFILE_CENTRAL, 1, IRK, SRK, &hciExtSignCounter );
GAP_DeviceDiscoveryRequest(&discoveryParams);
举报