Missing notifications on my Android app

2 posts / 0 new
Last post
vikramtheone
Offline
Last seen:4 years 10 months ago
Joined:2015-06-12 08:42
Missing notifications on my Android app

Hi,
Setup:

我写了一个自定义配置文件/服务应用on. My custom service has two characteristics (1 and 2) and the Characteristic 2 is enabled with notifications. I've designed the notification size to 154 bytes, I exchange the size of notification with the client. I have a timer which expires every 200ms, when it expires I will send a notification i.e. once every 200ms I send a notification of 154 bytes. I have an android app with which I'm connecting to my Murata DA14580 EVK.

With that as the setup.

Observations:
I observe on my android application that I miss several notifications. However, if I either increase the timer duration, keeping the pay load size constant or by keeping the same timer duration if I decrease the notification's payload size, in both these cases I don't observe notification loses.

  1. Has anyone else come across such an effect?

  2. Does Android BLE implementation has any limitation in the rate or/and size of notifications that it can receive?
Device:
MT_dialog
Offline
Last seen:6 days 7 hours ago
Staff
Joined:2015-06-08 11:34
Hi vikramtheone,

Hi vikramtheone,

The data rate isn't big enough to justify missing data, how often the notifications fails to your android ?

See what happens if you increase your MTU a bit more.

Thanks MT_dialog