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
cli: CTRL-C shouldn't exit on embedded platforms #57
Comments
I assume @darconeous added this because he wanted an easy way to exit the emulated code. However, I'm not sure this is necessary since @darconeous , what do you think about removing the explicit handling of |
I believe I still ran into some problems. It definitely warrants further investigation to figure out a way to make this work without catching the CTRL-C code. |
FWIW, I just tried removing the referenced CTRL-C case from |
This was originally here because of some misconfigured TTY settings, and can cause problems when running on embedded devices. Since the misconfigured TTY settings have been addressed, this check is no longer needed.
… (#64) This was originally here because of some misconfigured TTY settings, and can cause problems when running on embedded devices. Since the misconfigured TTY settings have been addressed, this check is no longer needed.
Fixed by #64. |
…HREAD-84 to master * commit '39eb9bce1369d5c8ec6372838cbb02659265e5e6': Cleanup magic numbers.
… gcc warnings Merge in WMN_STACKS/openthread from bugfix/OPENTHREAD-1155-Fix_ProprietaryChannelPage_GCCWarnings to staging/bugfix/OPENTHREAD-1155-Fix_ProprietaryChannelPage_GCCWarnings * commit '6bc7ae7813664c4c0b2808ae256cd7e9bb7c23ba': Fix for OPENTHREAD-1155.
This line of code is dangerous when compiled for an embedded platform:
https://github.com/openthread/openthread/blob/master/src/cli/cli_serial.cpp#L106
Accidentally pressing CTRL-C in your CLI terminal will halt execution and require a reset.
Perhaps it would be okay if a proper watchdog is implemented on the platform.
The text was updated successfully, but these errors were encountered: