Sometimes no notifications

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello,

Sometimes after connecting a smartphone to the BT-Module, the Module can't find the connected peer (__find_bonded_peer).

Most times a re-pairing will fix it, but not always.

I tried with "Maximum Bonded Devices" and without.

0 Likes
1 Solution
Anonymous
Not applicable

At the moment im on another bug, but that seems to be solved.

Of course i'm checking about that problem if it occurres.

View solution in original post

0 Likes
8 Replies
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

Which Smartphone?

Which version of the OS on the Smartphone?

There are some issues with iOS 8.2 and Bluetooth.

Are you trying to use Passkey pairing?

Whats the connection interval?

Which app are you using from the SDK to run the tests?

0 Likes
Anonymous
Not applicable

The smartphone as Samsung Galaxy S4 mini with Android 4.4.

Yes, I'm using Passkey pairing.

The module will send new data on every second.

The app based on the sample of android (BluetoothLeGatt).

It's not always, it comes from time to time. I only tested on time to reconnect, but also no notification. If I removed the device and paired it again, I got the notifications again.

0 Likes

I had originally thought that this issue was similar to the one reported here:Re: Un-pairing / un-bonding from a BLE sensor device

However, after studying both, I'm not sure any more.

It sounds like what you are saying is that many times, after connecting your Android phone to our 20737S, our module forgets the bonding information and can no longer find the connected peer - and notifications stop.

In most cases re-pairing will fix the issue and notifications continue, but not always.

I will probably need to check with the developers on this one.

0 Likes

Does your application store client configuration descriptor in the NVRAM after phone writes into it, and restores it after the reconnection.  According to the spec the client configuration descriptor for bonded devices needs to be persistent.  After reconnection the phone does not need to register for notifications again.

0 Likes
Anonymous
Not applicable

I think the data shoulb be stored.

Also the Android-App will register for the notifications on every start.

If there are no notifications, closing and starting the app again and the notifications are working.

0 Likes

Closing and starting the app can cause registration.  I think you need to start looking at the traces.

0 Likes

Is this still an issue? Any updates? Is this "BT-Module" you have mentioned here the tag3?

0 Likes
Anonymous
Not applicable

At the moment im on another bug, but that seems to be solved.

Of course i'm checking about that problem if it occurres.

0 Likes