Visteon Interview Question

Design a framework to receive data from a temp sensor connected over uart in Linux platform.