You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation of the function updateConnectionParameters says following about the connection parameters object.
{number} min_conn_interval: Minimum Connection Interval in 1.25 ms units.
{number} max_conn_interval: Maximum Connection Interval in 1.25 ms units.
{number} slave_latency: Slave Latency in number of connection events.
{number} conn_sup_timeout: Connection Supervision Timeout in 10 ms units.
The connect API on the other hand takes the first structure as input. This is inconsistent and needs fix.
There is one more problem with the connection parameters. The documentation says that it is in the 1.5 ms units, but actually the value is used "AS IS". The documentation needs a fix here as well.
Thanks
Amruta
The text was updated successfully, but these errors were encountered:
The documentation of the function
updateConnectionParameters
says following about the connection parameters object.If one passes a structure as below the API fails.
This is because internally a
_getConnectionUpdateParams
is called which expectsThe connect API on the other hand takes the first structure as input. This is inconsistent and needs fix.
There is one more problem with the connection parameters. The documentation says that it is in the 1.5 ms units, but actually the value is used "AS IS". The documentation needs a fix here as well.
Thanks
Amruta
The text was updated successfully, but these errors were encountered: