Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't scan for specific device. #13

Open
luantoni opened this issue Sep 15, 2016 · 0 comments
Open

Don't scan for specific device. #13

luantoni opened this issue Sep 15, 2016 · 0 comments

Comments

@luantoni
Copy link

luantoni commented 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?

@luantoni luantoni changed the title Don't scan for specific service. Don't scan for specific device. Sep 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant