README.md 2.33 KB
Newer Older
Yann Garcia's avatar
Yann Garcia committed
# ITS-Bridge

## General Information

Yann Garcia's avatar
Yann Garcia committed
These repositories contains ITS-BRidge tool developped for ETSI ITS Remote Testlab.
This tool include Makefiles to generate OpenWrt package.
Yann Garcia's avatar
Yann Garcia committed

Contact information
Email at cti_support at etsi dot org

License
Unless specified otherwise, the content of this repository and the files contained are released under the ETSI Software License.
See the attached LICENSE file or visit
https://forge.etsi.org/etsi-software-license

## STFs

The following STFs were or are currently involved in the evolutions of the ETSI ITS protocols project:
- STF 405, STF 422, STF 424, STF 455, STF 462, STF 481, STF 484, STF 507, STF 517, STF 525, STF 538, STF 545, TTF T0002


Yann Garcia's avatar
Yann Garcia committed

Yann Garcia's avatar
Yann Garcia committed
### Deployment with OpenWrt (e.g. Gl.iNet device)
Yann Garcia's avatar
Yann Garcia committed
- Step 1: Download the Gl.iNet SDK (see https://github.com/gl-inet/sdk)
Yann Garcia's avatar
Yann Garcia committed
```
Yann Garcia's avatar
Yann Garcia committed
git clone https://github.com/gl-inet/sdk.git gl_sdk
cd ./gl_sdk
Yann Garcia's avatar
Yann Garcia committed
```
Yann Garcia's avatar
Yann Garcia committed
- Step 2: List all available targets. We will use mt300n-v2 (target: ramips-1806) for the Gl.iNet mt300n-v2 Mango
Yann Garcia's avatar
Yann Garcia committed
```
./download.sh
Yann Garcia's avatar
Yann Garcia committed
./download.sh ramips-1806
Yann Garcia's avatar
Yann Garcia committed
```
- Step 3: Build the SDK for the Gl.iNet Mango
```
./builder.sh -t ramips-1806 -d ./sdk/1806/ramips
```

- Step 4: Clone the ETSI ITS-bridge OpenWrt package
Yann Garcia's avatar
Yann Garcia committed
```
Yann Garcia's avatar
Yann Garcia committed
cd ./sdk/1806/ramips
git clone https://forge.etsi.org/rep/plugtests/its-plugtests/its-bridge.git package/its-bridge
Yann Garcia's avatar
Yann Garcia committed
./scripts/feeds install libpcap
./scripts/feeds install libmicrohttpd
Yann Garcia's avatar
Yann Garcia committed
```
- Step 5: Update the configuration using menuconfig. In Utilites section, it_bridge shall be present, add it in the list of the package to be compiled
Yann Garcia's avatar
Yann Garcia committed
```
Yann Garcia's avatar
Yann Garcia committed
make menuconfig
Yann Garcia's avatar
Yann Garcia committed
```
- Step 6: Build the its_bridge package
Yann Garcia's avatar
Yann Garcia committed
```
Yann Garcia's avatar
Yann Garcia committed
make package/its_bridge/compile V=s
Yann Garcia's avatar
Yann Garcia committed
```
- Step 7: Install the package on the Gl.iNet mt300n-v2 Mango device
-- copy the package ```./bin/packages/mipsel_24kc/base/its_bridge_0.0.1-1_mipsel_24kc.ipk``` to the device using SSH access
-- execute ```opkg install its_bridge_0.0.1-1_mipsel_24kc.ipk``` to install the package
Yann Garcia's avatar
Yann Garcia committed

### Deployment on Linux box device (e.g. NanoPI R2S)
See script/install.sh for a complete installation:
Yann Garcia's avatar
Yann Garcia committed
```
cd scripts
sudo HOME_BIN=$HOME_BIN HOME_LIB=$HOME_LIB HOME_INC=$HOME_INC ./install.sh fscom yann.garcia@fscom.fr 123456
```

Yann Garcia's avatar
Yann Garcia committed

## How to Report a Bug

The ETSI ITS protocols project is under constant development, so it is possible that you will
encounter a bug while using it. Please report bugs at cti_support at etsi dot org.