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

Read ble messages received by multiple characteristics

Hi,

if got the following setup:

Nordic nRF52840 DK (peripheral), custom iOS App (central), nRF Connect Desktop Version + another nRf52840 DK as sniffer.

My Goal:  Changing values (name, and other integer values) on my nRF52840 Board using my App.

I tried the BLE-APP-UART example and got  everything working for one characteristic. I want to use one separate characteristic for each value.

But as soon as I register another Characteristic, I can see my new characteristic (when I test it with nRF Desktop App), but can not update the values of the second characteristic. However first characteristic is working fine. 

Do I have to use ble_nus in order to extract the data of my message that I've received? Is there another "simpler" way to get the data out of the received packed? - I don't necessarily have to write my values to the UART

If not: How can I use ble_nus for more than one writable characteristic?

Thanks for the help

Greetings Luke

Parents Reply
  • Sorry for not beeing clear enough. 

    Ok so I am changing the value of my variable "Start_Number" on my phone from value 0 to  value 10. The phone sends the new value (Start_Number = 10) via BLE to the nRF 52840. The nRF52840 is hooked up to the PC in order to debug and programm. I am detecting that a new event happened with the nRF52840, so it obviously received a message. But I am struggling how to get the Data (10) that the nRF 52840 received, in order to process it.

Children
No Data
Related