GithubHelp home page GithubHelp logo

rfduinotest's Introduction

Application to control RFduino devices from an Android phone

Compiles fine on Ubuntu 13.10.

Requirements, gradle:

sudo add-apt-repository ppa:cwchien/gradle
sudo apt-cache search gradle
sudo aptitude install gradle-1.10

Do not download the 1.11 one, it fails on my system. Also do not use the default one from Canonical. I don't even know how old that one is.

Update Android if necessary. I adjusted the gradle.build file here to use Android 4.4 (version 19) as is the target in the Manifest.

cd /opt/android-sdk-linux/tools
./monitor

And update the thing via the menu options.

Bugs

If you see bugs, please contact the original developer. The one I pletted myself was the absence of drawables.

Debugging

Everything time you use another application to connect to the RFduino, for example the nRF Console Panel from Nordic itself to read the services and characteristics, it is wise to restart Bluetooth.

If you run the debugger:

adb logcat

You see often commands like:

W/bt-l2cap(17164): L2CAP - LE - cannot start new connection at conn st: 2

This means that there is still a connection request somewhere. It can be also a request done by the same app, but you switched temporarily to look at an email or something. Just be lazy and turn off and on Bluetooth as a habit. This is very likely due to some bugs in the bluetooth stack of Samsung and not much you can do about it. Perhaps except for one thing. Change the code to a disconnect before a connect. I've to check that.

License

This project is licensed under the MIT License.

Copyright

Copyright 2013 Lann

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.