connection interval error

Hi,

 connection interval error 

Case ID: 301162

Can someone please answer this ?
Parents
  • What is your supervision timeout parameter set to? It didn't show in your screenshot. As Joakim wrote, it needs to be at least 4x the max_conn_interval. Try setting something like this:

    #define MIN_CONN_INTERVAL                   MSEC_TO_UNITS(400, UNIT_1_25_MS)        /**< Minimum acceptable connection interval (0.4 seconds). */
    #define MAX_CONN_INTERVAL                   MSEC_TO_UNITS(2000, UNIT_1_25_MS)        /**< Maximum acceptable connection interval (0.65 second). */
    #define SLAVE_LATENCY                       0                                       /**< Slave latency. */
    #define CONN_SUP_TIMEOUT                    MSEC_TO_UNITS(8000, UNIT_10_MS)         /**< Connection supervisory timeout (4 seconds). */

    Strictly speaking, the limit is around 2x max_conn_interval, but the recommendation is a bit more, to give it some slack for packet loss. 

    Best regards,

    Edvin

Reply
  • What is your supervision timeout parameter set to? It didn't show in your screenshot. As Joakim wrote, it needs to be at least 4x the max_conn_interval. Try setting something like this:

    #define MIN_CONN_INTERVAL                   MSEC_TO_UNITS(400, UNIT_1_25_MS)        /**< Minimum acceptable connection interval (0.4 seconds). */
    #define MAX_CONN_INTERVAL                   MSEC_TO_UNITS(2000, UNIT_1_25_MS)        /**< Maximum acceptable connection interval (0.65 second). */
    #define SLAVE_LATENCY                       0                                       /**< Slave latency. */
    #define CONN_SUP_TIMEOUT                    MSEC_TO_UNITS(8000, UNIT_10_MS)         /**< Connection supervisory timeout (4 seconds). */

    Strictly speaking, the limit is around 2x max_conn_interval, but the recommendation is a bit more, to give it some slack for packet loss. 

    Best regards,

    Edvin

Children
No Data
Related