Chrome蓝牙API可以在Windows XP和Windows 7上运行吗?

问题描述:

下列API可以在Windows XP和Windows 7上运行吗?我在Mac OS X中尝试过,它工作正常。但它不适用于带有IOGEAR蓝牙4.0适配器(GBU521)的Windows XP。Chrome蓝牙API可以在Windows XP和Windows 7上运行吗?

chrome.bluetooth.getAdapterState(function(adapter) { 
    console.log("Adapter " + adapter.address + ": " + adapter.name); 
}); 

chrome.bluetooth.getDevices(function(devices) { 
    console.log("Inside getDevices"); 
    for (var i = 0; i < devices.length; i++) { 
    updateDeviceName(devices[i]); 
    } 
}); 

您必须使用Windows 8.1才能使用BLE功能。