implement dump to file, add read dumped file test case in test.cpp, change car_status to uint16_t