Giter VIP home page Giter VIP logo

android-with-arduino-bluetooth's People

Contributors

aron-bordin avatar laurens-wuyts avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-with-arduino-bluetooth's Issues

Message Not sending and Receiving

Hi,
Your android code not working even not sending messages or receiving.
What I did here???
I upload your arduino code in my arduino nano board. Then develop arduino app for simply connect and send message using your code. But no luck.
How I know???
I try S2 terminal App It's working. Your arduino code well responding with S2 terminal.
Problem:
Device is connecting well with arduino but not sending & Receiving msg even not throwing any exception.
Here is my activity...

    public class MainActivity extends Activity {
BluetoothArduino mBlue ;
 @Override 
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
    mBlue = BluetoothArduino.getInstance(this,"Arduino");
    mBlue.Connect();
    Toast.makeText(this,mBlue.getLastMessage(),Toast.LENGTH_SHORT).show();
     Button b=(Button)findViewById(R.id.buttonOn);
     Button c=(Button)findViewById(R.id.buttonSearch);
     b.setOnClickListener(new OnClickListener(){

             @Override
             public void onClick(View p1)
             {

                 mBlue.SendMessage("Hi from Android!");
             }


     });
     c.setOnClickListener(new OnClickListener(){

             @Override
             public void onClick(View p1)
             {
                 Toast.makeText(getApplicationContext(),mBlue.getLastMessage(),Toast.LENGTH_SHORT).show();

             }


         });
 }



}

serialEvent

It will be a good addition to implement serialEvent function of the SoftwareSerial class to use the advantage of separating the serial events from the loop function.

BC417 Module?

I can't find BC417 Module for sale on Amazon. Can you direct me to a place I can buy it. I would like to contribute to your repo.

Error in UUID

hi i tried your library, but i get this error when i call Connect() method

[#]Error while conecting: Attempt to invoke virtual method 'android.bluetooth.BluetoothSocket android.bluetooth.BluetoothDevice.createRfcommSocketToServiceRecord(java.util.UUID)' on a null object reference

Calling of Function!

Function "run", beginning at line 111 in BluetoothArduino.java program file, has never been called during the execution. Due to which no message received or delivered in the app.

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.