5 Replies Latest reply on Feb 9, 2015 6:04 AM by connor.zhang

    how can I get data count of uart buffer using mraa lib on intel edison board


      Hi all,

          I use read() function to read data from uart in mraa library, and I set a noblock mode, but I don't know how can I get the uart buffer data count use the ioctl() function.

         I don't use arduino IDE. I programm and build the source code in edison.