Read from CAN with android
-
Are ther any information about read canbus data in android ?
Use SocketCAN on Android (if kernel supports CAN):
1. Enable CAN interface:
ip link set can0 up type can bitrate 500000
2. Read data:
candump can0
If tools aren’t available, install/build can-utils or access CAN via native (NDK) SocketCAN APIs.
1. Enable CAN interface:
ip link set can0 up type can bitrate 500000
2. Read data:
candump can0
If tools aren’t available, install/build can-utils or access CAN via native (NDK) SocketCAN APIs.
