2017-05-24
1.0.0
Bruno Martinho
All
All
Plug-ins
[Overview]
Plugin that enables communication between a phone and Bluetooth Low Energy (BLE) peripherals.
[Detail]
How to use this plugin?
The plugin exposes blocks and actions that allow to scan for peripherals, connect to a peripheral, read the value of a characteristic, write new value to a characteristic and get notified when characteristic's value changes.
Available Actions:
CheckBluetoothEnabled - Check if the bluetooth is enabled in the device
CheckConnection - Check connection to a BLE device
Scan - Scan LTE devices that are in range from your device
Connect - Connect to a BLE device
Read - Read a specific characteristic of a service from a device
Write - Write a specific characteristic of a service from a device
CheckSignalStrength - Check the signal strength to a BLE device
Disconnect - Action to disconnect to a BLE device
Available Blocks:
BluetoothListener - Listener to receive change from Bluetooth (on, off, ...)
Listener - Listener to receive change from characteristics in services from a device
Cordova Plugin
This plugin has been based on the cordova plugin Bluetooth Low Energy (BLE) Central plugin for Apache Cordova (aka PhoneGap), it was forked and changed to allow write on a characteristic that don't have descriptor.
Licensing
Apache License 2.0
Copyright 2012 The Apache Software Foundation