Hi, 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[]. Kaspar _______________________________________________ devel mailing list [email protected] https://lists.riot-os.org/mailman/listinfo/devel
