I would like to get advice about CAN bus communication with an Android tablet.
I am working into an electrical vehicle project with a colleague. We have CAN bus communication between BMS, inverter, and control logics. And I need to get data, like the speed to the cluster. The cluster will be an Android tablet. I have an Arduino shield for CAN and Bluetooth adapter to send data to the tablet. I am fairly new to Android.
Based on your inputs, you will need to use your Arduino to connect your Android device to you vehicle. The Arduino code will translate data from CAN to Bluetooth and the other way around. Indeed your Android device can't communicate directly to your CAN bus.
Then you will have to create your Android application to send/receive data from the Arduino. To do so take a look at the Android Bluetooth guide (it could also be possible to do the same with a Wi-Fi shield or an Ethernet shield or over USB (much more difficult)).
For OBD-II codes it depends on your vehicle if those are implemented on itself.
For data decoding: