public static interface Settings.ConnectionParameterEditor
Modifier and Type | Method and Description |
---|---|
void |
commit()
Writes the new connection parameters to the board
|
Settings.ConnectionParameterEditor |
setMaxConnectionInterval(float interval)
Sets the upper bound of the connection interval
|
Settings.ConnectionParameterEditor |
setMinConnectionInterval(float interval)
Sets the lower bound of the connection interval
|
Settings.ConnectionParameterEditor |
setSlaveLatency(short latency)
Sets the number of connection intervals to skip
|
Settings.ConnectionParameterEditor |
setSupervisorTimeout(short timeout)
Sets the maximum amount of time between data exchanges until the connection is considered to be lost
|
Settings.ConnectionParameterEditor setMinConnectionInterval(float interval)
interval
- Lower bound, at least 7.5msSettings.ConnectionParameterEditor setMaxConnectionInterval(float interval)
interval
- Upper bound, at most 4000msSettings.ConnectionParameterEditor setSlaveLatency(short latency)
latency
- Number of connection intervals to skip, between [0, 1000]Settings.ConnectionParameterEditor setSupervisorTimeout(short timeout)
timeout
- Timeout value between [10, 32000] msvoid commit()