Coder Social home page Coder Social logo

ericwu / ble-test-peripheral-android Goto Github PK

View Code? Open in Web Editor NEW

This project forked from webbluetoothcg/ble-test-peripheral-android

0.0 2.0 0.0 487 KB

A BLE Peripheral Simulator App

Home Page: https://play.google.com/store/apps/details?id=io.github.webbluetoothcg.bletestperipheral

License: Apache License 2.0

Java 99.88% Shell 0.12%

ble-test-peripheral-android's Introduction

BLE Peripheral Simulator

Build Status

The BLE Peripheral Simulator is an Android app that allows developers to try out new features of Web Bluetooth without the need for a BLE Peripheral Device.

You can build it from source or install it from the Google Play Store.

A developer can use the app to simulate a BLE Peripheral with one of two services:

  • Battery Service
  • Heart Rate Service

The developer can use the new Web Bluetooth features to connect to the app to Read and Write Characteristics, and Subscribe to Notifications for when the Characteristics change.

From the app a developer can set the characteristics' values, send notifications and disconnect.

![Battery Service](Battery Service.png) ![Heart Rate Service](Heart Rate Service.png)

Caveats

BLE peripheral mode was introduced in Android 5.0 Lollipop. Due to hardware chipset dependency, some devices don't have access to this feature. Here's a non-exhaustive list of devices that support BLE peripheral mode at the time of writing: Nexus 5X, Nexus 6P, Nexus 6, Nexus 9, Moto E 4G LTE, LG G4, Galaxy S6.

Source: http://stackoverflow.com/questions/26482611/chipsets-devices-supporting-android-5-ble-peripheral-mode

ble-test-peripheral-android's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.