[riot-devel] How does the Border router excute the command that ethos sends?
jianwen.ouyang at gmail.com
Wed Jun 15 18:20:20 CEST 2016
Thanks for your answer.
it's the function "readline()", which will read the ringbuffer, right? with
my problem is that, I send hundreds of commands to the Border router.
sometimes, UART did receive the command, but the command was not executed.
it's really strange.
2016-06-15 17:43 GMT+02:00 Kaspar Schleiser <kaspar at schleiser.de>:
> On 06/15/2016 05:30 PM, Jianwen Ouyang wrote:
> > And my question is how this ringbuffer related to the function which I
> > defined in "shell_commands" array?
> The ringbuffer is is used to buffer incoming UART bytes for consumption.
> In main(), the function shell_run() is called which starts the shell
> loop, which in turn will read() all bytes from the ringbuffer, parse
> command names and finally execute the functions from shell_commands.
> devel mailing list
> devel at riot-os.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel