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

Notification receive error

I use two nRF52840 to send notifications every second. Analysis using a logic analyzer revealed that the reception interval had strange variations. What is causing this? Why is there a gap at 1 second from the reception?

connection interval 10ms.

Parents
  • Hi

    I'm sorry, but is the delay you're seeing 0.5ms (milliseconds) or 0.5(seconds) as in half a second? It seems like you're mixing these a bit. The reason you would see half a second of delay would be because you are sending notifications every 1 second, so then I assume the device goes to sleep in between and waiting to send the next queued notification until the next connection occurs.

    No, you can only tell the SoftDevice to send an event by queueing it, and the SoftDevice will then send the notification when it is ready. What other details are you after?

    Best regards,

    Simon

  • Thank you.

    I don't want to wait after adding to the queue. I want to send it immediately.

    I want to know the relationship between connection interval and GAP_EVENT_LENGTH. Can you send notifications immediately without going to sleep?

    I want to know the meaning of the value of GAP_EVENT_LENGTH. For example, what is different between 6 and 400?

Reply
  • Thank you.

    I don't want to wait after adding to the queue. I want to send it immediately.

    I want to know the relationship between connection interval and GAP_EVENT_LENGTH. Can you send notifications immediately without going to sleep?

    I want to know the meaning of the value of GAP_EVENT_LENGTH. For example, what is different between 6 and 400?

Children
No Data
Related