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
I am using bluetooth to controller a stepper motor using the Accelstepper library. The problem is that running the stepper is blocking. So during a long rotation, Arduino BLE drops out. Can I set a timeout duration so this does not happen?
The text was updated successfully, but these errors were encountered:
Hi @seanngpack ,
you are probably interested in increasing the link supervision timeout. This parameter is negotiated between central and peripheral when the connection is initialized.
Try this: #101
You can use BLE.setSuperivisionTimeout(timeoutValue), where timeoutValue can assume values between 10 and 3200. The actual timeout will be (timeoutValue * 10 ms).
I am using bluetooth to controller a stepper motor using the Accelstepper library. The problem is that running the stepper is blocking. So during a long rotation, Arduino BLE drops out. Can I set a timeout duration so this does not happen?
The text was updated successfully, but these errors were encountered: