TODO: two separate header file for tx and rx and EXPORT_SYMBOL