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

Can't receive multiple notify characteristics on android, send by nrf52840

Hey,

I have a problem with receiving data on my Android app.

I'm sending several data via Services & Notfication Characteristics from my NRF52840 Application to my Android App.

I'm using three services, HRS, BAS and one Custom service. The DK is sending the data without problems, but in my Android App I can't receive all of them at the same time. I can access one notification by shutting the others down.

I don't really know if it is possible to subscribe to three nofify characteristics of these three services at the same time in android, but I thoughed it is. Or is there any other way to access the send notification data?

I wrote all characteristics values to the descriptor after each other.

Thanks for your ideas,

Daniel

  • Hi,

    Activating and receiving notifications from multiple characteristics (and multiple services) should not be a problem, as that is what BLE is made for.

    Can you check with nRF Connect for mobile, or nRF Toolbox, to see if enabling notifications there gives you notifications from all three services? That will show you if the issue is in the nRF device or in the Android app.

    I also need some more information regarding your nRF application and Android app. (I.e. for the nRF side: Hardware, SDK version, Softdevice version, libraries used, what example it is based on if any. For the Android side: Hardware, Android version, libraries and APIs used with versions, what example it is based on if any, etc.)

    Also, a sniffer log may prove valuable in figuring out what is happening and where it fails.

    Regards,
    Terje

Related