- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I am trying to setup a project using com.evothings.ble to access Bluetooth LE functionality.
I have tried following the instructions found at http://evothings.com/forum/viewtopic.php?t=1410 without success.
Is there a sample projects using BLE?
- Balises:
- HTML5
- Intel® XDK
Lien copié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Does it fail to build when you include the plugin or are you just having issues interfacing with the plugin in your app?
I dont think there is a sample, I have never tried this plugin before.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Start with the blank Cordova project and then import the code and instructions on that post you reference into that blank project.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
The project builds, but when I run it, it behaves as if the evothings.ble plugin were not there (no devices listed etc).
If I run the same program through EvoThings workbench, it works fine.
I have noticed that when I import Standard Cordova Plugins, I find related subdirectories in the plugins folder (e.g. org.apache.cordova.battery-status, org.apache.cordova.camera etc).
I cannot find any directory related to the evothings.ble plugin, even if it is listed in the third party plugins section.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
When you say you "run" the app, what do you mean? Third-party plugins won't run in the Emulate tab, Test tab or Debug tab. You have to actually build the app to see those plugins work. See this doc: https://software.intel.com/en-us/xdk/docs/intel-xdk-debug-and-test-overview#RemoteChromeDevTools
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I actually compile the app, download it from the Intel server and install it on the phone (Samsung Galaxy S5).
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Having no idea how that code works, I'm afraid I can't help much. I recommend you work with the developers of the code to understand what is necessary to make it work.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Dear Carlo,
I only recently found this your post, and by now you've hopefully solved your issue by other means, while for anyone reading this thread I hope to add some info here.
Evothings is the maintainer of a Cordova BLE plugin and the easy-ble.js library for simplified Bluetooth Smart development. We're successfully built the BLE demos using both command line tools and build services like cordova.build.com without flaws, new examples are also added. We'd love to work more closely with the Intel XDK, while we have had some knowledge of this system, this opportunity has passed us by until now.
The precompiled Viewer app holds a BLE plug-in, and several other plugins preinstalled, so you can test your project there without compiling anything. See complete list here:
Cordova Plugins
Evothings Viewer comes pre-packaged with the following Cordova Plugins.
Note that the JavaScript source files for the plugins are packaged into the Evothings Viewer app. You don't need to explicitly include these files in your HTML code, they are included automatically with cordova.js.
Bluetooth
Evothings Bluetooth Low Energy (BLE) Plugin
Bluetooth Serial Plugin (available in Evothings Viewer for Android only)
Network plugins (WiFi connectivity)
chrome.system.network
chrome.socket (deprecated)
chrome.sockets.tcp
chrome.sockets.tcpServer
chrome.sockets.udp
Eddystone Beacons and iBeacon
Evothings Eddystone Plugin
Cordova iBeacon Plugin
Estimote Beacons and Nearables
Background Notifications
Cordova Local Notification Plugin
Standard Cordova plugins
Battery Status
Camera
Console
Device
Device Motion (Accelerometer)
Device Orientation (Compass)
Dialogs
Geolocation
Globalization
InAppBrowser
Network Information (Connection)
Statusbar
Vibration
Legacy Whitelist
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable