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

Transmit data from the nRF52840 card to a smartphone

Hello,

I want to transmit data using the nRF52840 card and a smartphone.
I explain: I must transmit data from the nRF52840 card to a smartphone. What is the best program in the nRF5_SDK_15.0.0_a53641a folder (Segger Embedded Studio) to do that.

Thank you

  • Hi,

    There is not enough information in the question to suggest what is best, and this will typically be application specific anyway. However, the simplest way to get started transferring data between a smartphone and a nRF is probably the UART/Serial Port Emulation over BLE example. You can use the nRF Toolbox app on the smart phone side to view the received data in the log.

  • Hello,

    I want to send text for example
    I write for example hello on my smartphone, then in my card nRF52840 I notice this text (hello)
    after I write for example 45 on my smartphone, then in my card nrf52840 I receive this number (45)

    Thanks you

  • Hi,

    This is exactly what you can do with the approach I explained in my previous answer (tough you will see a lot of other stuff in the log as well). We do not provide a more "polished" solution as the apps we provide are development tools. You need to make your own application specific mobile app if you want something else.

  • OK
    I'm trying to use ble_app_uart; but when I compile there is no advertising sent and my smartphone does not detect the advertising of the card nRF52840
    What is the problem?

  • The example should work out of the box. How have you built and flashed it? You must remember to flash the SoftDevice as well as the application,as you can see here.

    You can also try with the precompiled .hex that has been tested by us and verified to work. You can find that in the hex sub folder for each example. The precompiled hex files has been merge with the SoftDevice hex so that you do not need to flash that separately.