Giter Club home page Giter Club logo

bluetooth-serial-communication's Introduction

Bluetooth-Serial-Communication

Used for communications with bluetooth devices via de Serial-Port Profile.

ExampleDevice

How to test

  1. Download an app called Bluetooth SPP Server Terminal from the Play Store;
  2. Pair your smartphone with your computer, through the operating system bluetooth settings (Linux, Windows or Mac OS X);
  3. Execute the application and click the Refresh button.
    Note: Some mobile phones require you to be on the bluetooth page to correctly be detected by the application.
    Note 2: You must be running the Bluetooth SPP Server Terminal in the background for the application to recognize you as a compatible device, otherwise it will not detect any device. 1 . Send any of the available commands from the mobile phone.

Available commands (Example Device)

Device -> GUI Interface

Command Description
consoleclear Clears the console of the GUI interface
console:%TEXT% Adds the string represented by %TEXT% to the GUI interface's console
time:%TIME% Sends the time represented by %TIME% (in UNIX milliseconds) to the GUI interface. The interface extrapolates the devices future time.
battery:%LEVEL% Sends the device battery level represented by %LEVEL% (between 0 and 1) to the GUI interface.

GUI Interface -> Device

Command Description
time:%TIME% Syncs the desktop time represented by %TIME% (in UNIX milliseconds) to the selected device.
wake:%TIME% Schedules a wake-up time represented by %TIME% (in UNIX milliseconds) on the selected device.

bluetooth-serial-communication's People

Contributors

ricardofalcao avatar

Stargazers

 avatar  avatar

Watchers

 avatar

bluetooth-serial-communication's Issues

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.