Git Product home page Git Product logo

thomasleveil / bluetoothviewer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from janosgyerik/bluetoothviewer

0.0 1.0 0.0 2.64 MB

A simple Android app to debug Bluetooth connections: 1. Connect to any Bluetooth device, 2. Display incoming raw data, 3. Send raw data to the Bluetooth device. You can confirm successful pairing, monitor incoming raw data and see exactly what is being transmitted from the Bluetooth device.

Home Page: https://play.google.com/store/apps/details?id=net.bluetoothviewer

License: Other

Java 88.40% Makefile 3.78% Shell 7.83%

bluetoothviewer's Introduction

BluetoothViewer

This app is a simple Bluetooth connection debugging tool:

  1. Connect to a Bluetooth device
  2. Display incoming raw data
  3. Send raw data to the Bluetooth device

You can confirm successful pairing, monitor incoming raw data and see exactly what is being transmitted from the Bluetooth device.

Limitations

The app only works with certain types of Bluetooth devices:

  • Devices that work in server mode. That is, devices that listen to and accept incoming Bluetooth connections.

  • Devices that accept connections on channel=1

  • Devices that don't require a specific UUID during connection.

  • Devices that can be paired.

All these conditions are required, at least for now. I plan to add in the next release the option to set the channel, and to set a specific UUID.

Another limitation is that the current version shows incoming data in ASCII format. If your device sends binary data, that won't be very readable. I plan two features to help with that:

  • Add a hexadecimal view that can be easily switched on/off

  • Make it possible to send the received data as an attachment

Finally, keep in mind that some devices need some sort of "activation signal" first before they would start sending data. This depends on the device, and you would have to look at the technical documentation of your device to figure this out.

Feature ideas

I plan to add the following features in the future:

  • Option to add timestamp to incoming messages

  • Option to add GPS info to incoming messages

  • Design a plugin framework for customized views tailored to specific Bluetooth sensors

For more details, see the more detailed (but quite crude) todo.md file.

Contributing code

You can contribute improvements in whatever way is convenient for you, for example:

Sponsors

  • Alan Haddy (www.ipegcorp.com): option to record incoming Bluetooth data and send as email attachment

Disclaimer

The source code is a modified version of the BluetoothChat sample that is included in the Android SDK.

bluetoothviewer's People

Contributors

janosgyerik avatar

Watchers

Thomas LÉVEIL 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.