You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using:
function startScan()
{
showMessage('Scan in progress.');
evothings.eddystone.startScan(
['XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXX'],
function(beacon)
{
// Update beacon data.
beacon.timeStamp = Date.now();
beacons[beacon.address] = beacon;
},
function(error)
{
showMessage('Eddystone scan error: ' + error);
});
}
But it doesn't works, returning this error:
Error in Success callbackId: BLEXXXX : TypeError: win is not a function
Uncaught TypeError: win is not a function
What am I doing wrong?
The text was updated successfully, but these errors were encountered:
luantoni
changed the title
Don't scan for specific service.
Don't scan for specific device.
Sep 15, 2016
I'm using:
function startScan()
{
showMessage('Scan in progress.');
evothings.eddystone.startScan(
['XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXX'],
function(beacon)
{
// Update beacon data.
beacon.timeStamp = Date.now();
beacons[beacon.address] = beacon;
},
function(error)
{
showMessage('Eddystone scan error: ' + error);
});
}
But it doesn't works, returning this error:
Error in Success callbackId: BLEXXXX : TypeError: win is not a function
Uncaught TypeError: win is not a function
What am I doing wrong?
The text was updated successfully, but these errors were encountered: