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

How to determine the connection interval in android

Did anybody know how I could determine the connection interval for a established ble connection between an android (4.4) central and a (e.g. nRF51822) peripheral?

Parents
  • The simplest and cross platform way would be to have a characteristic that sets the link timing, this characteristic can be read or notified from the Peripheral. There is an example for this in the BLE over UART project for Arduino using the github.com/.../ble-sdk-arduino , see the ble_uart_project_template. You can view the XML file in that project using nRFgo studio and the Characteristic is called "UART link timing current". This example is for the nRF8001 however it should be trivial to do the same for the nRF51.

Reply
  • The simplest and cross platform way would be to have a characteristic that sets the link timing, this characteristic can be read or notified from the Peripheral. There is an example for this in the BLE over UART project for Arduino using the github.com/.../ble-sdk-arduino , see the ble_uart_project_template. You can view the XML file in that project using nRFgo studio and the Characteristic is called "UART link timing current". This example is for the nRF8001 however it should be trivial to do the same for the nRF51.

Children
Related