ble-plugin

BLE Plugin

Stable version 1.1.0 (Compatible with OutSystems 11)
Other versions available for 10
Published on 25 October 2018 by 
4.8
 (5 ratings)
ble-plugin

BLE Plugin

Details
Plugin that enables communication between a phone or tablet and Bluetooth Low Energy (BLE) peripherals.
Read more

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
  • WriteMultiple - Write multiple bytes to a specific characteristic of a service from a device
  • WriteWithoutResponse - Write multiple bytes to a specific characteristic of a service from a device without waiting for the response from the 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

What’s new (1.1.0)
  • Added WriteMultiple and WriteWithoutResponse actions to support multi-byte BLE commands, and improved performance on writes.
  • Fixed typos
Reviews (0)