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

Can't connect to Blinky application

Hi to everyone!

I have a problem when I try to connect to the Blinky application running on my nRF52dk.

My mobile phone (Nexus 5X, Android 7.1.2) is able to detect the Nordic_Blinky peripheral service on the board, but when I click to connect:

  1. The board turns off the LED 1 and turns on the LED 2. My mobile phone shows a light bulb off and the word "disconnect" in the black button at the bottom.
  2. In a half second, The board goes to de initial state (the led 2 turns off and the led 1 turns on) and, in my mobile phone, it changes the word "disconnect" to "connect". So, it doesn't connect.

If I press the button "connect", the same happens in the points 1 and 2. In the phone, I have tried the nRF Blinky Android app and the nRF Connect app, with the same results.

In the board, I have tried the code (compiling and updating it to the board) and the hex file (comes with the examples).

I've been able to try other code (Heart rate monitor and Proximity demo) and works perfectly with the board.

What could I be doing wrong?

  • I had this error once before. Here is how I fixed it.

    Restart bluetooth on the phone and restart the DK. Go into the nrfConnect app and try to connect to NORDIC_BLINKY. Even if it doesn't connect, click the ... at the top right corner when you are on the NORDIC_BLINKY tab that opened up. Then click refresh device cache. Then try and connect (may take 1 or 2 tries).

    Then everything started working fine for me.

    Hope this helps.

  • Thank you. That's not the solution but you help me to find it.

    The problem was I have cached the other BLE examples, so the discovering bluetooth process wasn't completely done.

    After trying to connect in nRF Connect app, I checked the log (I didn't know it has it) and I find the next line error:

    Error 22 (0x16): GATT CONN TERMINATE LOCAL HOST

    I googled it and ended here, where it solution gave me the idea to my solution.

    Here are the steps I follow to make it works:

    1. In nRF Connect, scan and find Nordic_Blinky, press the three points (...) and select something like "remove bonded data" (now that option doesn't appears, I don't know why).

    2. Connect to Nordic_Blinky (now you see It doesn't disconnect) and disconnect to use the Blinky app.

    3. Here you are! Now you can use nRF Blinky app without problem.

    I Hope someone find this useful to solve the same problem (or others, who knows).

  • Hi 

    Thanks for sharing your findings. 

    My issue was little different but I thought better to share it on the forum. 

    In nrf_connect ( in an android phone )  'NORDIC_BLINKY' was not visible at all. 

    Solution: Got to setting -> Apps-> Nrf_connect-> storage -> clean data 

    And now start nrf_connect again and everythings works fine. 

    I think the issue was caching only. 

    Hope it helps someone in the future Slight smile

Related