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

How to set connection timeout in BLE android?

In my BLE device connection timeout is 20 sec. I want to change it using android code.

Parents
  • Hi dheera,

    You can only request it on the peripheral side. Just choose the timeout you prefer in the CONN_SUP_TIMEOUT in main.c

    But it's not guaranteed that the phone will accept it and use that number. It's up to the phone.

Reply
  • Hi dheera,

    You can only request it on the peripheral side. Just choose the timeout you prefer in the CONN_SUP_TIMEOUT in main.c

    But it's not guaranteed that the phone will accept it and use that number. It's up to the phone.

Children
No Data