.. _cohda_mk6_cv2x_tutorial: ======================================================= Cohda MK6 C-V2X Hardware Deployment Tutorial ======================================================= This tutorial explains how to deploy and run ``rustflexstack`` on commercial **Cohda Wireless MK6** On-Board Units (OBUs) and Roadside Units (RSUs) equipped with Qualcomm PC5 direct sidelink radio hardware. Precompiled Binary Distribution ================================ .. note:: Cross-compiling applications for Cohda hardware requires the official Cohda toolchain and Qualcomm Telematics SDK sysroot. Because these toolchains are proprietary, they are not and cannot be distributed publicly. However, the precompiled ``v2x_cli_cv2x`` binary **is officially distributed** and ready for deployment on Cohda MK6 OBUs and RSUs. Users do not need to compile anything—simply download the precompiled binary and run it directly on the unit. **Custom Builds & Inquiries:** If your organization requires additional custom features, specialized actors, or would like to compile proprietary software targeting Cohda hardware, please contact the i2CAT development team directly (see :ref:`Development Team & Contact `). Downloading the Precompiled Binary =================================== Download the precompiled ``v2x_cli_cv2x`` binary from the official GitHub release: * **GitHub Releases**: https://github.com/Fundacio-i2CAT/RustFlexstack/releases/latest Transferring to Cohda MK6 OBU / RSU ==================================== Connect your host computer to the Cohda MK6 network (default IP is commonly ``192.168.1.10`` or assigned via DHCP) and transfer the binary using SCP: .. code-block:: bash # Transfer the binary to the Cohda filesystem scp v2x_cli_cv2x root@192.168.1.10:/usr/bin/ # Ensure executable permissions on the target unit ssh root@192.168.1.10 "chmod +x /usr/bin/v2x_cli_cv2x" Over-the-Air Transmission Test ============================== Connect to the MK6 via SSH and execute the CLI: 1. Transmitting CAMs over 5.9 GHz PC5 Radio ------------------------------------------- .. code-block:: bash ssh root@192.168.1.10 # Start transmitting CAMs over Qualcomm PC5 direct sidelink v2x_cli_cv2x --send cam 2. Receiving Packets on a Second Unit ------------------------------------- In a second nearby MK6 unit (or listening OBU/RSU): .. code-block:: bash ssh root@192.168.1.11 # Receive and log incoming C-V2X packets over the air v2x_cli_cv2x # receive-only (default) You should observe live packet receptions with median deserialization and decode latencies below 60 µs, confirming over-the-air communication.