Skip to content

Non blocking function to transmit #63

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

Closed
universam1 opened this issue Nov 17, 2017 · 3 comments
Closed

Non blocking function to transmit #63

universam1 opened this issue Nov 17, 2017 · 3 comments

Comments

@universam1
Copy link
Contributor

The endPacket() is a blocking transmit that can take over 6 seconds depending on the radio settings.
A non blocking version is proposed with MR #62 , tested successfully on ESP8266.
Note the grace time required for the radio to properly update the registers.

Example added as well to demo.

@ainst
Copy link

ainst commented Feb 25, 2018

Would it be possible to add a callback as well as part of the changes to endPacketAsync()?

For example, I would like to turn receive back on once a transmit has been completed.

@torntrousers
Copy link
Contributor

Agree with @ainst , a callback for tx done would make this async support much more useful.

@sandeepmistry
Copy link
Owner

Closed via #62.

Would it be possible to add a callback as well as part of the changes to endPacketAsync()?

@ainst @torntrousers please open a new pull request for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants