This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Creating simple BLE connection with android to NRF51822

Hello,

I am a beginner in the world of bluetooth and bluetooth smart connections. I am working with an nrf51822 Evaluation kit an android phone (Nexus 4 running 4.4.2).

I was able to get the heart rate example uploaded to the board and get it working with the nRF Toolbox app that is on the Google Play store.

Then i tried to use the LeGatt example on the android website and i was able to successfully compile and run that on my phone.

Now i am trying to start writing my own simple app. I want to create a connection to my eval board with my android phone, then use two buttons on the phone screen to toggle the LEDs on the eval board.

The problem is that the example code for the heart rate example is so complex that i can't understand how to start writing my own code.

Are there more simple tutorials on how to start writing your own code for the board? And are there any tutorials on how to send commands from android to the board?

Thanks!

  • I would like to ask the same:

    And are there any tutorials on how to send commands from android to the board(arduino)? Are there more simple tutorials on how to start writing your own code for the board(arduino)?

    The perfect tutorial for me would have: First tutorial(creating simple app): scanning after clicking button(everything in one class preferably). Second tutorial(creating simple app): send character after clicking button(everything in one class preferably). Third tutorial: "receive one character" app. Fifth: all above working together.

    That is most of what the arduino users want from ble.

    Kind regards.

Related