Slow reconnection

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

cross mob
Anonymous
Not applicable

Hello,

I have the following problem, I don't know if it is related to the Android-Application or the BT-Module.

The first connection, when the user connectes the Smartpone and the Module, all Characteristics and Data are read within 2-4 seconds (after he entered the pin). But if he reconnects to to the Module, the reading of all Characteristics and Data will take about 10-30 seconds.

Anybody a hint what could be the reason for this?

0 Likes
1 Solution
Anonymous
Not applicable

Hello Matthias,

Try this:

1.  Set short connection intervals and test this.

Thanks

JT

View solution in original post

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

Whats the connection interval?

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

Do you have air trace capabilities setup?

0 Likes
Anonymous
Not applicable

The controller will send every second new data to the smartphone.

The app based on the sample of android (BluetoothLeGatt)

I don't have other tracing capabilities than the trace of the BT-Module and the log of android.

If I choos "Forget the device", the next connection will be OK. But if I reconnect again, the reading of the characteristics and setting the notifications be slow again.

0 Likes
Anonymous
Not applicable

Hello Matthias,

A few questions:

1.  Which BT-Module/Board are you using?  TAG3(BCM20736), WICED Sense Kit, USB Dongle?

2.  Which version of Android and Android phone are you using?

We have not experienced this scenario.

Thanks

JT

0 Likes
Anonymous
Not applicable

The module is the BCM90236S

The Phone is a Samsung Galaxy S4 mini with Android 4.4

0 Likes

Are you using the tag3 board? Which app are you running?

0 Likes
Anonymous
Not applicable

No, its our own design with the BCM90236S (the module).

The app based on the Android BluetoothLeGatt-Example.

0 Likes
Anonymous
Not applicable

Hello Matthias,

Try this:

1.  Set short connection intervals and test this.

Thanks

JT

0 Likes
Anonymous
Not applicable

Thank you. With the shorter intervals, the reading is much faster.

So I have just to check how to change the intervals again in Android.

0 Likes
Anonymous
Not applicable

Hello Matthias,

A suggestion from our Android Developer:

Choose "Forget This Device" and then try again.

Thanks,

JT

0 Likes