Android BLE Notifications

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
haniabidi
Offline
Last seen:1 year 2 months ago
加入:2017-01-18 17:56
Android BLE Notifications

Hello,

I am using DA14580 in my design and I am able to connect with Reference Source Code provided by Android Studio.

However, when I am trying to enable notifications, I get data for 7 sample readings and then the notifications stop.

I have to enable notificaitons again, to get data. And this time, I don't have any problems.

I am clueless to what the problem is. Any suggestions on what I might be doing wrong?

你有任何参考代码通用吗t started?

Keywords:
Device:
MT_dialog
Offline
Last seen:2 months 1 week ago
工作人员
加入:2015-06-08 11:34
Hi haniabidi,

Hi haniabidi,

The notifications should stay enabled as long as the connection of the devices is valid, the only reason that i can imagine for your problem is either if the devices are disconnected and then connected so perhaps the notifications are disabled, or somewhere in your android code there is a condition that disables the notifications under a specific condition. There are no reference code from our side in order for the user to interact with an android or an iOS device but we have some applications available that they where developed in order to support the SUOTA the DSPS reference design, etc. You will be able to get those android/ios source codes from the support site, in the Software & Tools tab in the mobile section.

Thanks MT_dialog