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

Make serial communication asynchronous #2

Open
astuder opened this issue Jan 13, 2014 · 2 comments
Open

Make serial communication asynchronous #2

astuder opened this issue Jan 13, 2014 · 2 comments

Comments

@astuder
Copy link
Owner

astuder commented Jan 13, 2014

Currently, sending of data over serial is blocking the main thread. The result is, that in case of a channel hop request, the packet handler state machine is blocked until the current serial transmission is complete. (solve by moving hop logic inside packet handler ISR)

Implement serial TX as ISR, add isBusy() to UART that needs to be checked before reusing TX buffer.

@ghost ghost assigned astuder Jan 15, 2014
@astuder
Copy link
Owner Author

astuder commented Jan 16, 2014

non-critical with reworked packet handler ISR

@astuder
Copy link
Owner Author

astuder commented Jan 25, 2014

oops, wrong issue referenced in commit

@astuder astuder reopened this Jan 25, 2014
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

1 participant