This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

cc2540实际connection interval 和 min connection interval 与 max connection interval的关系。

hi,我们代码中可以设置min connection interval 和 max connection interval。但是实际的connection interval 和它们有什么关系啊。是不是在min connection interval 和 max connection interval中的任意一个值啊。

  • jack,

    实际的值,是由master在这两个值的区间内选择决定的。一般会选择靠近max的。

    如果你需要设置一个固定的值,那么你可以把min 和 Max 两个值设置成一样就行。但是iOS不会接受这样的设定。

  • 1、一般手机端会在两个值之间选择一个值
    2、如果主机端也是你开发的,你可以自己定义一个固定值,同时,请注意,如果时间间隔比较短,会比较耗电,间隔长了容易断