Give us feedback
ble-plugin
Mobile icon

BLE Plugin

Stable version 1.2.0 (Compatible with OutSystems 11)
Other versions available for 10
Uploaded on 02 May 2022 by 
4.7
 (7 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

Release notes (1.2.0)

- Add timeout input to the connect action to allow define the timeout connection dynamically.

- Fixed the connect timeout error.

- Fixed the Listen Block pattern to output the full message received by the device instead of just the position 0 of the message.

Reviews (1)
by Pauly
2022-10-17
in version 1.2.0
It would be wonderful if there is a complete tutorial to use this.