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

Android issues with BLE

Hi,

I am facing some issues on the Android part of the BLE.

Firstly it takes around 20 seconds for the android phone in scanning mode to find the nordic board. This happen only for the first time and not after that.

I also face a lag when connection is established and it takes around 10 seconds to display the result on the phone.

I am using a moto e phone which has android 6.0. Any particular reasons on why this happens.

Parents
  • We have made our own app using the android Ble library. The advertising interval i am using on the nordic board is 500ms. When i say it happens only for one time and not after that means that when scanning is done for the first time, the phone takes a long time to find the nordic device but once paired/connected once, then the next time device discovery happens quickly. How do you set the connection interval in android?The peripheral connection parameters are set as min to 500 ms and max to 1000 ms. The smartphone reads the custom characteristic after connection.

Reply
  • We have made our own app using the android Ble library. The advertising interval i am using on the nordic board is 500ms. When i say it happens only for one time and not after that means that when scanning is done for the first time, the phone takes a long time to find the nordic device but once paired/connected once, then the next time device discovery happens quickly. How do you set the connection interval in android?The peripheral connection parameters are set as min to 500 ms and max to 1000 ms. The smartphone reads the custom characteristic after connection.

Children
No Data
Related