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

andriod BLE application

Hi,

my BLE device is NRF52840, I am using softedevice s140_nrf52_6.1.1

using the ble_app_uart example  as peripheral .

I have a problem to send data to our android ble application !.

Our android application starting to get BLE messages only after NRF connect app is up and connected  and starting read notification from the BLE device, it's seems that when we starts to listen to the device from the NRF connect the listening starts from our android app as well.

Could you please advise why this is happening !? why our app start to read the notification only when i am starting to read the notification on the NRF connect app?

what do we have to change in our application in order to read the notification without the NRF connect app interference ?

best regards

JawadK

Parents
  • Hi Jawadk, 

    How did you develop your app ? Did you base on one of our reference app ? 

    I suspect that in your app you didnt have the code to enable notification. Did you write to the CCCD characteristic ? to set it to 1 ? 

    I would suggest to have a look at our example app , such as the nRF Blinky app or nRF Toolbox app. We provided source code for those apps. 

Reply
  • Hi Jawadk, 

    How did you develop your app ? Did you base on one of our reference app ? 

    I suspect that in your app you didnt have the code to enable notification. Did you write to the CCCD characteristic ? to set it to 1 ? 

    I would suggest to have a look at our example app , such as the nRF Blinky app or nRF Toolbox app. We provided source code for those apps. 

Children
Related