This commit is contained in:
Nikolai Ommundsen
2018-07-30 14:59:58 +02:00
parent 5e8a55ded5
commit f96df8e80a
+1 -1
View File
@@ -403,7 +403,7 @@ chrome.bluetooth.getDevices((devices) => {
});
}
});
chrome.bluetoothSocket.onRecieve.addListener((receiveInfo) => {
chrome.bluetoothSocket.onReceive.addListener((receiveInfo) => {
if (receiveInfo.socketId != createInfo.socketId)
return;
// receiveInfo.data is an ArrayBuffer.