Added transmission code for CAN, untested and still need error check
functions