User Tools

Site Tools


iut_simulator_guide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
iut_simulator_guide [2017/12/11 05:34]
Mushfiqul Islam [Argument Type:]
iut_simulator_guide [2018/02/27 12:50] (current)
Mushfiqul Islam
Line 20: Line 20:
  
 Note: IoTivity must be build before IUT Simulator build Note: IoTivity must be build before IUT Simulator build
 +
 +
 +====== IUT Simulator Build With a Different IoTivity Source Branch ======
 +If it is desired to build IUT Simulator using a different IoTivity base(branch),​ below is the procedure:
 +
 +1. Pull the desired IoTivity branch. Example: ​
 +    $ cd ~
 +    $ git clone https://​gerrit.iotivity.org/​gerrit/​iotivity iotivity_1.3
 +    $ cd iotivity_1.3
 +    $ git checkout 1.3-rel
 +2. Build IoTivity: ​
 +    $ scons TARGET_OS=linux SECURED=1 WITH_TCP=0 RD_MODE=all -j 3
 +3. Pull the test branch for IUTSimulator. Example:
 +    $ cd ..
 +    $ git clone https://​gerrit.iotivity.org/​gerrit/​iotivity iotivity_test
 +    $ cd iotivity_test
 +    $ git checkout test
 +4. Build IUTSimulator: ​
 +    $ cd test
 +    $ scons MODULE=iut SECURED=1 WITH_RD=1 IOTIVITY_ROOT=<​path_to_iotivity_1.3-rel_branch,​ ex: ~/​iotivity_1.3> ​
 +
     ​     ​
 ====== Run IUT Simulator ====== ====== Run IUT Simulator ======
iut_simulator_guide.txt ยท Last modified: 2018/02/27 12:50 by Mushfiqul Islam