Code Monkey home page Code Monkey logo

btserial's Introduction

BtSerial Library for Processing for Android

This library gives you access to a Bluetooth Serial port on Android devices that have Bluetooth. It's structured using Processing's Serial library API, so those familiar with Serial should be able to do the same things with this as they can with Serial.

There are some differences:
* You have to enable Bluetooth on your device.
* You have to pair with the device you want to talk to in advance.
* It is recommended to disconnect the Bluetooth connection on stop() and pause() and reconnect on resume() in order to prevent connection errors

This library was based on SweetBlue, a Bluetooth library for Processing and Arduino, by Andreas Goransson & David Cuartielles at 1scale1.se. For connections between Processing for Android and Arduino without having to write your own Arduino firmware, see https://github.com/1scale1/sweetbt. It was also based in Ben Fry's Serial library for Processing(http://code.google.com/p/processing/), and on Google's BluetoothChatService example for Android (http://developer.android.com/resources/samples/BluetoothChat).
Thanks to Bonifaz Kaufman, developer of Amarino (http://code.google.com/p/amarino) for many good ideas as well.
BtSerial was refined and expanded by Joshua Albers (http://joshuaalbers.com) as part of Google Summer of Code 2012.


BtSerial Copyright 2011, 2012 Andreas Goransson & David Cuartielles & Tom Igoe & Joshua Albers
Version 0.2.0
August 2012

btserial's People

Contributors

joshuaalbers avatar tigoe avatar

Watchers

 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.