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

Android delayed notification

Hi, on Android, I sometimes get delayed notifications. I measure realtime data and send them over notification, and I can see data change on Android with approx 1 s delay. Sometimes it helps to connect and disconnect BLE device.

On Windows notifications always work.

I send 20 notifications/second with approx 20 ms connections interval.

Parents
  • Hi,

    We need to check if the connection interval is actually 20ms or not because the central/peripheral can request to change it.

    1s delay is for all notification packets (each packet comes after 1 second) or only the first offset delay, after that notification comes every 20ms ?

    You may need to capture a sniffer trace to really see if the notification is sent with 20ms interval or not.

    I would suggest to use nRFConnect app on Android to test.

Reply
  • Hi,

    We need to check if the connection interval is actually 20ms or not because the central/peripheral can request to change it.

    1s delay is for all notification packets (each packet comes after 1 second) or only the first offset delay, after that notification comes every 20ms ?

    You may need to capture a sniffer trace to really see if the notification is sent with 20ms interval or not.

    I would suggest to use nRFConnect app on Android to test.

Children
Related