Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/transport v1 asyncio #188

Merged
merged 27 commits into from
Jul 11, 2023
Merged

Conversation

hello-fazil
Copy link
Contributor

@hello-fazil hello-fazil commented Jun 28, 2023

This PR adds the following features:

  • Introduces the use_asyncio mode that will enable using asynchronous IO call methods to execute with the help of asyncio to speed up the USB device interactions. This mode can be toggled back to use the regular non-async IO calls by changing the stretch params use_asyncio.
  • By default, the asyncio mode is enabled.
  • Adds the P3 protocol for all the Arduino devices.
  • Also, for the asynchronous transport layer to work, the devices firmware will need to support V1 transport protocol that is supported with firmware only above v0.5.0p3 for all hello-* arduino devices. For older firmwares, the async_io would be disabled automatically.
  • Releases Stretch Body version v0.5

@hello-fazil hello-fazil marked this pull request as draft June 28, 2023 21:14
@hello-fazil hello-fazil marked this pull request as ready for review July 11, 2023 01:52
@hello-fazil hello-fazil merged commit c0fb8a7 into master Jul 11, 2023
@hello-binit hello-binit deleted the feature/transport_v1_asyncio branch July 17, 2023 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants