Coder Social home page Coder Social logo

ble-center-role's Introduction

BLECenterRole

Introduction

An Android App that implements a Bluetooth Low Energy Central Role with features for demostration purpose.

Purpose

To demostrate

  • my Java programming level
  • my ability of anroid application development
  • my capability to learn new API and concepts (Bluetooth BLE).

features

  1. Ability to scan for BLE peripherals around you.
  2. Display peripherals found and their RSSI values.
  3. Improve 2) by greying out the Peripherals that do not offer the service with UUID: abc00001-1234-5678-1234-abcd0123abcd
  4. Allow user to connect to peripherals with Service with UUID: abc00001- 1234-5678-1234-abcd0123abcd.
  5. Upon connection:
  • a) Discover TX Characteristic (UUID: abc00002-1234-5678-1234- abcd0123abcd) and RX Characteristic (UUID: abc00003-1234-5678-1234- abcd0123abcd).
  • b) Subscribe to RX Characteristic.
  • c) Once successfully subscribed to RX Characteristic, send the following Zero terminated string through TX Characteristic: “Ready”.
  • d) Display the data arrived via RX Characteristic (assume that it is a string).
  • e) Reformat every string received as follows and loop it back by sending it via TX Characteristic: <\0> Where: N = 8 bit number represented in hexadecimal that increments at every communication StringReceived = string received on RX characteristic \0 = null terminator character Example: if you received “Hello World” as first string, you would have “01Hello World\0”
  1. Implement a “disconnect” button: when it is pressed the Central should disconnect from the Peripheral.
  2. Automatically Reconnect if there is a cause of disconnection other than the intentional disconnection performed by the user. Note that it should reconnect to the latest.

Screenshots

alt tag alt tag alt tag alt tag

ble-center-role's People

Contributors

davidwonghk avatar

Stargazers

 avatar

Watchers

James Cloos 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.