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

provided examples are not working with nRF connect app ( for Android version)

Dear whom it may concern,

I have been using nRF52840dk for a week now and I am having a problem. The issue is that, I am trying ble_peripheral examples that are provided with nRF5_SDK_15.3.0 version and I cannot send data to the development board from my phone ( Samsung Galaxy s9+) because there is no option to send data. For instance ble_app_blinky example, I can connect to my development board but, in the client tab there is no Nordic led button service. However I run the same example for nRF52832dk with its corresponding softdevice, I can see Nordic Led Button Service and from that service I select LED and be able to turn the LED on or off. However when I run the same example for nRF52840dk with softdevice 140 and PCA10056, I could not see Nordic Led Button Service. Instead other services like Tx power, Immediate Alert, Link Loss services were present. I tried the example from downloading from segger and downloading directly hex file and none of them seem to work. I also tested the UART example, I faced the same problem, but there was no issue with nRF52832dk. If you could help me to resolve this problem I would be glad. I am suspecting hardware fault or the mobile app is not optimized for nRF52840dk. Looking forward to hear from you.

Regards

Arda

  • Hi,

    To me it looks more like a caching issue on the Android side, in that it looks like the same GATT table is used for the device every time? Does turning BLE off and on again, or maybe turning the phone off then on again, solve the issue? I have seen that kind of behavior on iOS previously, but not for Android. Should be worth a try anyway.

    If you use nRF Connect for Desktop (with nRF52832 DK for connectivity), do you then see the correct services and characteristics when connecting to the nRF52840 DK?

    Regards,
    Terje

  • Hi,

    Thanks for the reply. So, as an update my friend gave me his nRF52840dk boards. When I opened the SES with them, a message popped up and asking me if I want to install the latest firmware and I clicked no. After I downloaded the example code into the board, the example code has started working when I used same development environment, same computer and same phone ( samsung galaxy s9+). Also, I remember that I updated the firmware to the latest version on my board and the code is not working. From the screenshot like before I can connect to the board from my phone but still, there is no Led Button Service. However, like I said I tested with 2 another nrF52840dk boards without updating the firmware and the example codes started working perfectly. As I do not know if I can install the previous version of the firmware, therefore I did not update the firmwares of the boards that my friend gave it to me. So I still cannot confirm if it is a firmware issue. But at least, I ensured that there is no issue caused from android app or computer side. Do you have any further suggestions? Thanks in advance.

    Regards

    Arda  

  • Hi,

    The kind of issue that you are describing should not be related in any way to the programmer MCU firmware. In any case, you can use an application named "J-Link Configurator" for updating the programmer MCU firmware. It is part of the J-Link Software and Documentation pack, which you should already have on your computer.

    Did you try connecting to the board from nRF Connect for Desktop?

    Regards,
    Terje

  • Hi,

    Like you have advised, I have turned off and then on my phone but nothing seem to be changed still I see the same GATT table every time. I even deleted the nRF Connect app but nothing seem to be changed. Also, what is strange is when I used 2 other nRF840 dk I did not face this problem. But now I have no access to other boards as I borrowed them from my friend. 

  • Hi,

    If you still see the issue: Have you tried erasing flash manually before programming the new application? (E.g. by using nrfjprog on the command line: "nrfjprog -e".)

    Regards,
    Terje

Related