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
Even if I set the connection interval to the wanted value on connect, the Linux kernel sends a ConnectionParameterUpdateRequest right after connection to set it to 30ms...
This value seems to be hardcoded in the Bluetooth kernel module (see here)
I can't prevent it to send the request but I could send a response with the connection interval that we want. The only issue is that I have to modify a lot of code to register the connection interval for each connection handle in HCISocket to be able to set the right value in the Connection Update ... OR find a way to send a reject response to keep the value set in LE Create Connection (hoping that the kernel won't retry...)
Obviously, this occurs only if we use a Linux computer as a peripheral. If you connect to another device, it will depend on this device: will it accept the connection interval or will it try to update the connection? If it updates the connection, this is not handled yet by baBLE, and so the requested connection interval will be automatically used.
The text was updated successfully, but these errors were encountered:
Even if I set the connection interval to the wanted value on connect, the Linux kernel sends a
ConnectionParameterUpdateRequest
right after connection to set it to 30ms...This value seems to be hardcoded in the Bluetooth kernel module (see here)
I can't prevent it to send the request but I could send a response with the connection interval that we want. The only issue is that I have to modify a lot of code to register the connection interval for each connection handle in HCISocket to be able to set the right value in the
Connection Update
... OR find a way to send a reject response to keep the value set inLE Create Connection
(hoping that the kernel won't retry...)Obviously, this occurs only if we use a Linux computer as a peripheral. If you connect to another device, it will depend on this device: will it accept the connection interval or will it try to update the connection? If it updates the connection, this is not handled yet by baBLE, and so the requested connection interval will be automatically used.
The text was updated successfully, but these errors were encountered: