BluetoothRadio: add more props; remove hciVersion; code cleanup

This commit is contained in:
Carter Li
2024-07-28 15:26:37 +08:00
committed by 李通洲
parent 7a75615d9e
commit c14ba32b82
6 changed files with 68 additions and 37 deletions
+1 -4
View File
@@ -27,10 +27,7 @@ const char* ffDetectBluetooth(FFlist* devices /* FFBluetoothResult */)
}, &btdi);
if(!hFind)
{
if (GetLastError() == ERROR_NO_MORE_ITEMS)
return "No Bluetooth devices found";
else
return "BluetoothFindFirstDevice() failed";
return "BluetoothFindFirstDevice() failed";
}
do {