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

NUS UART data handler issue

file.txtHi,

In my application I am using UART service which receives the data sent from APP. I am using nrf connect APP. I am sending simply 1 and 2 from UART service. Sometimes the nus data handler is called and dedicated operation is being performed. But sometimes Flow of execution does call the nus data handler even I am sending data from APP.

Can Someone help me to resolve this issue?

I have attached the code below

Parents
  • Hi Stefan,

    Thanks for reply. Sorry for late reply. You are right. Sometimes when I am sending uint8 value from APP, NUS data handler is not getting called.This is not the problem with other BLE codes that I have implemented previously. I am not getting what is exactly the issue.

    I have set APP_TIMER_OP_QUEUE_SIZE = 16. Does it makes any difference?

Reply
  • Hi Stefan,

    Thanks for reply. Sorry for late reply. You are right. Sometimes when I am sending uint8 value from APP, NUS data handler is not getting called.This is not the problem with other BLE codes that I have implemented previously. I am not getting what is exactly the issue.

    I have set APP_TIMER_OP_QUEUE_SIZE = 16. Does it makes any difference?

Children
No Data
Related