5 Replies Latest reply on Mar 11, 2016 7:52 AM by MichaelF_56

    Is the connection idle timeout settable in runtime?

      Hi,

      The connection timeout is set at power up in the create function:

       

      1. Our definition:

      #define CONN_TIMEOUT     5          // In seconds

       

      2. In  config array const BLE_PROFILE_CFG my_app_cfg:

      ...

      /*.con_idle_timeout               =*/      CONN_TIMEOUT,   // In seconds

      ...

       

      My question is:

      Is there an API to change it later, when the code is already running?  If so, what is the call that I have to use to set it to the new value?

       

      Thanks!

       

      Cheers,

      Gil