Merge "Initial docs skeleton"
[it/test.git] / ons_2019_demo / pendulum_xapp / build_and_run_pendulum_xapp.sh
1 export C_INCLUDE_PATH=$HOME/usr/include
2 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/usr/lib
3 export RMR_SEED_RT=$HOME/global_rmr_files/global_rmr_routes.rt
4 gcc pendulum_xapp.c -g -o pendulum_xapp -L $HOME/usr/lib -lrmr_nng -lnng -lpthread -lm
5
6 export PENDULUM_XAPP_RMR_RCV_PORT=5560
7 export DEMO_SENDER_PTO=1                        # poll timeout listening for replies
8
9 export PRINT_FREQ=1000 #frequency at which test stats will be printed
10
11 RMR_RCV_ACK=1 ./pendulum_xapp $PRINT_FREQ;  # receiver that will ack every sender message