Arduino Function: BLECentralRole.setConnectionInterval

Name

setConnectionIntervalConfigure the parameters that will be used during a connection with a Central. Connection interval must be between 0x0006 (7.5 ms) and 0x0c80 (4 s), values outside of this range will be ignored.

Description

Configure the parameters that will be used during a connection with a Central. Connection interval must be between  0x0006 (7.5 ms) and 0x0c80 (4 s), values outside of this range will be ignored.

Syntax

bleCentral.setConnectionInterval(minimumConnectionInterval, maximumConnectionInterval);

Parameters

  • minimumConnectionInterval: unsigned short. minimum connection interval in 1.25 ms increments.
  • maximumConnectionInterval: unsigned short. maximum connection interval in 1.25 ms increments.




Returns

none 

Written by arduino.org