example code for CAN bus and dbus