Skip to content

tomkelsey/cordova-ble

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cordova BLE Plugin

This plugin implements BLE support for Android, iOS and Windows 8.1 (partial support). Enable your Cordova and PhoneGap mobile applications to communicate with all sorts of BLE devices.

Available functionality:

  • Scan for BLE devices (background scanning supported on iOS and Android)
  • Establish connections
  • List services, characteristics and descriptors
  • Read and write the values of characteristics and descriptors
  • Request notification of changes to the values of characteristics
  • Poll RSSI (signal strength) of a device (Android and iOS only)
  • Experimental support for Peripheral mode on Android

Installation

Install using the Apache Cordova command line:

cordova plugin add cordova-plugin-ble

Documentation

Reference documentation is available in the ble.js source file.

To build the documentation using jsdoc, run this command:

jsdoc -l -c conf.json ble.js

Generated documentation is available at the Evothings documentation web site.

The file introduction.md contains a general introduction to BLE programming.

Libraries

The following are libraries built on top of the BLE plugin:

Getting started tutorial

Read the BLE app development tutorial to get started with your BLE mobile application.

BLE Mobile App Development Video

Use Evothings Studio for fast and easy BLE mobile app development

This plugin is used in Evothings Studio, and is compatible with Apache Cordova and PhoneGap.

Evothings Studio is a development and prototyping tool for making Cordova/PhoneGap apps. With Evothings Studio the edit/run turn-around cycle is just a second or two, which is much faster compared to the traditional method of rebuilding the Cordova project for each update.

Evothings Studio Workflow

See Evothings Examples for comprehensive examples of mobile apps that communicate over Bluetooth Low Energy, and which you can use for your own projects to get quickly up and running.

Download Evothings Studio

Download Evothings Studio - it is fun and easy to get started. It is open source!

About

Bluetooth Low Energy plugin for Cordova

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 44.0%
  • Objective-C 27.3%
  • Java 21.9%
  • HTML 6.8%