Summary:
Using script for start/stop. Otherwise, if killed, a wrapper will detect if program is running and auto start it.
/etc/init.d/ibrdtn start
When debug
/etc/init.d/ibrdtn stop
/usr/sbin/dtnd -v -d 20 -c /tmp/ibrdtn.config
This provides gateway function, receiving dtn packet, extracting GPS and sending to GPS Agent. This require dtnd and GPS Agent on IMA-server, e.g., demo, test
Start GPS-Agent if not already started:
ssh to demo@ima-server chmod +x repos/nemo/target/appassembler/bin/run_transportAdapterWrapperDemoAgent ./repos/nemo/target/appassembler/bin/run_transportAdapterWrapperDemoAgent &
Start or restart dtnimaapp
/etc/init.d/dtnimaapp restart
When debug
/etc/init.d/dtnimaapp stop /usr/bin/dtnimaapp -d -c /etc/dtnimaapp.conf
Current config
## ima-demo ima_platform_ip 130.149.154.25
config wifi-iface
option device 'radio0'
option network 'wlan0'
option mode 'ap'
option ssid 'IMARSU-AP'
option encryption 'psk2'
option key 'imademo123'