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

ble_app_uart TX Characteristic doesn´t work

Hi,

I flashed and run "ble_app_uart" example on nrf52833 DK. With an UART tool, I can recieve data from smartphone (rx characteristic) but I can´t send data from UART tool to smartphone. I pushed the "download arrow" in tx characteristic on smartphone. I sent just a character from UART tool. I didn´t do any modifications to the example.

Do I have to do something other?

Thanks in advance

Simon

Parents Reply
  • Hi,

    thanks for reply.

    It works now :-) I can now send data from UART to nrf Connect App. My fault was the variable "m_ble_nus_max_data_len", which includes a buffer with more than 100 characters...I just tried to send a few characters.

    It is our aim, to sent data from a sensor to nrf connect app. So I have to store the sensor value in the buffer which is transmitted via BLE. So we don´t need the hole UART code. Can you tell me, which variable should including the sensor data instead of uart data?

    Another question: There is a simple example for BLE advertising, services and characteristics (https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-characteristics-a-beginners-tutorial). This example unfortunaly is only for nrf52840 and S132. This example is very simple and includes not much code. Can I use this? What changes I have to do, because I use nrf52833 and S113/S140? Is there much to do?

    Our application is very simple, but there are not much examples for nrf52833 SoC :-/

    Thanks in advance for your help!

Children
Related