Fix printing of carriage return character
Extract chip read test to a function
Add forward declaration and variable declaration
Rename test_reset to obd_init
Add documentation for functions