-
Notifications
You must be signed in to change notification settings - Fork 0
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Allow a prefix for returned messages from the micro? #4
Comments
Rather than a prefix, we should allow the platform-native logging. That gets round any issues with multi-threaded environments, as the logging is (usually) done in a separate thread. Having the Cucumber response messages come from a For Zephyr ( For ESP32 it'd be a match like Maybe (at least until other platforms are supported) we just match on |
* ESP32 version now defaults to the built-in UART rather than a separate one * Wire-server also handles weird characters generated by nrf91/Zephyr/MCUboot after the device is programmed
Done. Just matches on The |
At present the serial comms protocol assumes that all incoming messages are responses to step requests.
That means that any boot messages or debug output gets interpreted as step responses. It seems the easiest approach would be to add a prefix to any genuine messages with a known value, so the
wire-server
could ignore anything else.Might be handy to have a command-line option to either discard, or print out, any "ignored" lines, so that debug info during the test runs could be optionally seen.
That would also let us get rid of the extra serial port requirement for the
esp32-rpc-server
example.The text was updated successfully, but these errors were encountered: