hi,

is there any readline /writeline implementation based on the asynchronous periph/uart implementation?

I want to use the uart in a arduino style and I miss an (blocking) interface like:

        char buf[100];
        int buf_size = 100;
        int timeout = 100; //ms
        int num_of_bytes = readline(uart, buf, buf_size, timeout);

also

        int num_of_bytes_written = writeline(uart, line, line_len, timeout);

Best
Christian
_______________________________________________
devel mailing list
devel@riot-os.org
http://lists.riot-os.org/mailman/listinfo/devel

Reply via email to