Skip to content

florianklingler/OpenC2X-standalone

Repository files navigation

----------------------------------------------------------------------------------------------------
                                             OpenC2X
----------------------------------------------------------------------------------------------------
For latest updates on OpenC2X, visit http://www.ccs-labs.org/software/openc2x/

On Ubuntu 16.04, follow the below mentioned steps to get OpenC2X up and running.
For other OS users, we recommend you to setup a virtual box with Ubuntu 16.04.

OpenC2X source is organized in the tree structure like this:

path_to_openc2x
|
└── OpenC2X
    ├── CMakeLists.txt
    ├── cam
    ├── common
    ├── dcc
    ├── denm
    ├── denmApp
    ├── gps
    ├── httpServer
    ├── ldm
    ├── obd2
    └── kernel-patches



----------------------------------------------------------------------------------------------------
1)                                         Installation
----------------------------------------------------------------------------------------------------

    $ echo "deb https://dl.bintray.com/fynnh/debian xenial main" | sudo tee -a /etc/apt/sources.list
    $ sudo apt-get update
    $ sudo apt-get install openc2x

----------------------------------------------------------------------------------------------------
3)                                      Configurations
----------------------------------------------------------------------------------------------------
- The configuration of the modules can be changed in '/etc/config/'
- Make sure to change the interface name and the stationId as per your setup.
- For setting up OpenC2X kernel, go through 'kernel-patches/README.txt'



----------------------------------------------------------------------------------------------------
4)                                        Start OpenC2X
----------------------------------------------------------------------------------------------------
If you have followed the above steps, then you are ready to run OpenC2X.

    $ sudo runOpenC2X.sh

For the GUI, open 'webSite/index.html' in your browser. You can also trigger denms from there.
You can stop your experiment by running stopOpenC2X.sh in another terminal.