# scenario-ChronoSync **Repository Path**: pku-min-java/scenario-ChronoSync ## Basic Information - **Project Name**: scenario-ChronoSync - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-23 - **Last Updated**: 2021-11-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ChronoSync Simulation Scenario in Ad-hoc Network ============= ### Prerequisites * NS-3 (branch `ndnSIM-v2.5`) * ndnSIM 2.6 (tagged as `ndnSIM-2.6`) * Note that you have to remove all `DummyIOService` in NFD 0.6.2 and ndn-cxx 0.6.2. ### Applying Patches After checking out the correct versions, you have to apply these patches to ndnSIM and NFD: * `ndnSim_patches/ndnSIM.patch` (to `ns3/src/ndnSIM`) * `ndnSim_patches/NFD.patch` (to `ns3/src/ndnSIM/NFD`) * `ndnSim_patches/ndn-cxx.patch` (to `ns3/src/ndnSIM/ndn-cxx`) These patches are used to implement some additional features that ns-3 doesn't currently support (e.g. loss rate in Wi-Fi networks). ### Compiling ns-3 To configure in optimized mode without logging **(default)**: ./waf configure To configure in optimized mode with scenario logging enabled (logging in NS-3 and ndnSIM modules will still be disabled, but you can see output from NS_LOG* calls from your scenarios and extensions): ./waf configure --logging To configure in debug mode with all logging enabled ./waf configure --debug ### Running You can run the ping scenario by: ./waf --run chronosync-mobile # or # ./build/chronosync-mobile