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

startScan() only lists device once #139

Open
rms95 opened this issue May 10, 2017 · 0 comments
Open

startScan() only lists device once #139

rms95 opened this issue May 10, 2017 · 0 comments

Comments

@rms95
Copy link

rms95 commented May 10, 2017

I am trying to use evothings cordova-ble for scanning beacons which use advertising packets as periodic broadcasts.

At this point I only get a scan result once per device, not every advertisement packet, but I need it every packet.
Some other (non-Cordova) libraries by Evothings do allow this via a parameter for the startscan function. Is it possible to do this at the Cordova platform as well?
(I am talking about allowDuplicates in https://evothings.com/doc/lib-doc/evothings.easyble.html#.ScanOptions)

My code:

evothings.ble.startScan(
	function(device) {
		
	},
	function(errorCode) {
		
	}, {
		allowDuplicates: true
	}
);

I'm using Android 6.0.1 with custom Bluetooth beacons.

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