apps: Add GPSD app.
Once enabled, running a GPSD client (for example, cgps) on the node can obtain the current position and motion information of the node.
Change-Id: Ib88424cc7fe07898de5b37c1699e170bf89e58a5
diff --git a/examples/wifi/adhoc.py b/examples/wifi/adhoc.py
index b9be9c2..de5918e 100644
--- a/examples/wifi/adhoc.py
+++ b/examples/wifi/adhoc.py
@@ -1,6 +1,6 @@
# -*- Mode:python; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
#
-# Copyright (C) 2015-2021, The University of Memphis,
+# Copyright (C) 2015-2025, The University of Memphis,
# Arizona Board of Regents,
# Regents of the University of California.
#
@@ -21,6 +21,7 @@
# along with Mini-NDN, e.g., in COPYING.md file.
# If not, see <http://www.gnu.org/licenses/>.
+from time import sleep
from mininet.log import setLogLevel, info
from minindn.wifi.minindnwifi import MinindnAdhoc
from minindn.util import MiniNDNWifiCLI
@@ -28,8 +29,8 @@
from minindn.apps.nfd import Nfd
from minindn.helpers.nfdc import Nfdc
from minindn.helpers.ndnping import NDNPing
-from time import sleep
-# This experiment uses the singleap topology and is intended to be a basic
+
+# This experiment uses the topology defined in adhoc-topology.conf and is intended to be a basic
# test case where we see if two nodes can send interests to each other.
def runExperiment():
setLogLevel('info')
@@ -60,7 +61,7 @@
# Start the CLI
MiniNDNWifiCLI(ndnwifi.net)
- ndnwifi.net.stop()
+ ndnwifi.stop()
ndnwifi.cleanUp()
if __name__ == '__main__':