Page 1 of 1

cordova-plugin-ble & BLE Scan

Posted: 15:31, 01 Jun 2016
by kieb
I've created a cordova (version 6.2.0) - project on platforms ios, android and windows. The project uses your cordova-plugin-ble I have installed from your git-repository with 'cordova plugin add https://github.com/evothings/cordova-ble' today. In my implementation I use your 'BLE-scan'-example. This example runs sucessfully on my IPhone 5.0 with IOS 9.2.1 and on my Nexus 5 with Android 6.0.1. Now I'm about to try it with Windows 8.1. Building and starting the app works fine. But when I start to scan for bluetooth devices the following exception is thrown:

'ms-appx://io.cordova.hellocordova/www/plugins/cordova-plugin-ble/src/windows/bleProxy.js
0x800a01b6 - Laufzeitfehler in JavaScript: Das Objekt unterstützt die Eigenschaft oder Methode "getAllCharacteristics" nicht'

I use 'evothings.ble.startScan' with an empty array of service UUID's!

windowsError.jpg
windowsError.jpg (96.71 KiB) Viewed 41087 times


Any help is appreciated. Thanks in advance!