Let Rx can receive data and record information
Fix makefile