Can anyone tell me which example in SDK to use to send data(a simple text message) from nRF52832 board to an Android Phone. I have nRF Connect and nRF Tools applications installed on the phone.
Thanks in advance.
Just to give more details, let's say we have 2 nRF52832 Development Kits. We can program one device as a client and another as a server and send the data between the two devices. Correct me, if I have understood in the wrong way. So, we are basically replacing one of the DKs with a mobile phone with nRF apps. So, in this scenario, which example do we use? I do not understand why should we use UART? Can we not simply send a normal text message that I can manually put in code?
The UART example is just an example of sending proprietary data over BLE. You don't need to use UART you can send anything you want with the example. Another example you can have a look is the blinky example. In that example we send only 1 byte. But you can modify it to send more data.
You can download nrfBLinky app from google Play/App Store and source code is available on Github.
I have nrfBlinky and have programmed the softdevice. But, in the app, I am not able to find any connection. Any idea what could be the reason?
You need to flash the ble_app_blinky in our nRF5 SDK, in addition to the softdevice.
I am confused between programming the softdevice and programming the board. What is the difference between them? I am using Segger Embedded Studio on Linux OS. Can you suggest how to program the softdevice and also the board?
Please follow the getting started tutorials.
I have flashed the ble_app_blinky and also programmed softdevice. I still do not see any connection in nrf Connect app.
Which hardware board are you using ? Have you tried to test with any other example ? For example the blinky \examples\peripheral\blinky (not the ble_app_blinky).
Have you tried to flash the pre-compiled hex as instructed in the getting started guide ?
I am using nRF52832 board. I have tried blinky example and it's working. I have tried ble_app_uart also. The LED keeps blinking when I download the code. But the board is not detected in NRF Connect Mobile App.