-
Notifications
You must be signed in to change notification settings - Fork 24
/
README
53 lines (40 loc) · 2.21 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
----------------------------------------------------------------------------------------------------
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.