This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

App example for BLE UART

Hi

I am working with an nRF52DK board that is successfully communicating with Nordic's nRF Toolbox app via BLE UART.

I would like to be able to modify the app as I modify the board's firmware so I can test things out.

I did get the app working in Android Studio and running on my tablet. However, when I look through this project it is far too difficult for me to understand right now.

I have searched online for, and worked through, several tutorials that offer a far simpler Android solution, however not a single one of them has ever fully compiled correctly at the end – I assume they are all out of date. So, it has been a difficult journey so far.

I need the app to be able to scan for devices and allow the user to connect to one – and then be able to communicate with the BLE peripheral via UART.

Would you be able to point me to any tutorial / walk-through that is up to date - everything I have found / tried won't build - they are too old.

Thanks in advance for any suggestions

Garrett

  • I suggest you work from the nRF Toolbox apps source (nRF-Toolbox on Github), since you are looking for up to date ressources.
    You mention the project is not easy for you to understand, which (ironically) is understandable.

    But the project will provide the most recent information on how to work with the devices in an android environment.
    It also contains information on how to use different components as well as explanation about the intention of the developers and common pitfalls when working with it, as you are not the first person beside the developers to use it.

    The How to use section describes different approaches, their respective pros and cons as well as where to find the implementation.
    The following section Nordic UART Service provides additional information about your topic of interest.

    You may find further information about BLE in the android ecosystem in the Android developer guide - BLE. You can search the guide
    terms and concepts you discover in the nRF-Toolbox project for which you would like learning more about in the context of android.

    Since you already got this project setup and running you are able to modify it to fit you need. If you have no use
    for the other BLE profiles i would ignore or remove them completly. This would reduce the percieved complexity of the project
    and allow you to focus on your required parts.

    Maybe try asking very specific questions on this platform to get more concrete information regarding nordics devices and maybe the
    development of BLE android apps.

    JaTi

  • Thanks JaTi for all your suggesations

    Garrett

Related