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 may be doing something incorrect, but there seems to be an issue when an array of serviceUUIDs is provided to the exports.startScan function in BLE.js (Line 141-142).
getCanonicalUUIDArray(serviceUUIDs); returns an array of Service UUIDs. This is then wrapped in another array on the next line. When I execute this code, I get no results. However, when I removed the outer array, the BLE Devices that match the serviceUUIDs I provide are correctly scanned.
I am trying to use the cordova-plugin-eddystone plugin which passes the eddystone service id by default. When I bypass this and pass no service uuids it works as expected.
The text was updated successfully, but these errors were encountered:
I may be doing something incorrect, but there seems to be an issue when an array of serviceUUIDs is provided to the exports.startScan function in BLE.js (Line 141-142).
serviceUUIDs = getCanonicalUUIDArray(serviceUUIDs);
exec(onSuccess, onFail, 'BLE', 'startScan', [serviceUUIDs]);
getCanonicalUUIDArray(serviceUUIDs); returns an array of Service UUIDs. This is then wrapped in another array on the next line. When I execute this code, I get no results. However, when I removed the outer array, the BLE Devices that match the serviceUUIDs I provide are correctly scanned.
I am trying to use the cordova-plugin-eddystone plugin which passes the eddystone service id by default. When I bypass this and pass no service uuids it works as expected.
The text was updated successfully, but these errors were encountered: