# ccc_config.sh: Template for configuring CCC Smoke HIL Tester CAN interfaces
# @copyright: Highly Confidential and Proprietary Information. Copyright (c) Zoox

ifconfig CHG_CAN down
ifconfig GTC_CAN down
# Configure CHG_CAN
ip link set can2 name CHG_CAN
ip link set CHG_CAN type can bitrate 500000 restart-ms 100
ip link set CHG_CAN txqueuelen 4096
# Configure GTC_CAN
ip link set can1 name GTC_CAN
ip link set GTC_CAN type can bitrate 50000 restart-ms 100
ip link set GTC_CAN txqueuelen 4096
ifconfig CHG_CAN up
ifconfig GTC_CAN up
