Home > Software engineering >  Want to search by using Windows buletoothapi ble bluetooth, but can receive mobile phone, computer,
Want to search by using Windows buletoothapi ble bluetooth, but can receive mobile phone, computer,

Time:09-29

This is a piece of code, search the remote device in the API is only this search remote bluetooth device, but I can't search ble bluetooth, please everyone a great god, can you inform how to search the ble bluetooth!!!!!!
 
BLUETOOTH_DEVICE_INFO bdi={sizeof (BLUETOOTH_DEVICE_INFO)};
BLUETOOTH_DEVICE_SEARCH_PARAMS BDSP;

ZeroMemory (& amp; BDSP, sizeof (BLUETOOTH_DEVICE_SEARCH_PARAMS));
BDSP. DwSize=sizeof (BLUETOOTH_DEVICE_SEARCH_PARAMS);
BDSP. HRadio=hRadio;
BDSP. FReturnAuthenticated=TRUE;
BDSP. FReturnRemembered=TRUE;
BDSP. FReturnUnknown=TRUE;
BDSP. FReturnConnected=TRUE;
BDSP. FIssueInquiry=FALSE;
BDSP. CTimeoutMultiplier=10;
Do
{
Save the info to the array;
} while (BluetoothFindNextDevice (HBF, & amp; Bdi));