CAN (Controller Area Network) on Android

sean picture sean · Jul 25, 2013 · Viewed 8.3k times · Source

I am trying to connect control multiple device on the network centrally via a tablet/android device and have some issues trying to find the right protocol for secure communication.

Is there a api available for coding/utilizing CAN network on android over Ethernet/Bluetooth/Wifi ? Or is there another protocol that is more suitable for my application?

Thank you.

Answer

Diego Torres Milano picture Diego Torres Milano · Jul 25, 2013

What you are able to use will be determined by what protocol your devices support.

However, the use of a CAN bus is meant primarily to reduce wiring between the components, so implementing it over a wireless protocol is pretty much nonsense.

Considering you have the alternatives you mentioned (Ethernet/Bluetooth/Wifi), assuming some kind of TCP/IP network between your devices HTTPS would be a reasonable protocol to use.