wiki:Proto/cModules/c0HostProtocolStack/d0Running
close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Version 1 (modified by seskar, 9 years ago) ( diff )

--

Running Host Protocol Stack

Linux

Once the configuration settings have been prepared as detailed here, use the following to bring up the stack:

$ sudo mfstack /path/to/settings_file/settings.conf

More details of accepted parameters can be obtained by running:

# mfstack -h

Android

The configuration file has to be provided exactly as the specified in the Linux section.

From the Shell

Open a shell on the device (e.g., use adb shell) and use execution instructions shown in the Linux section above.

Using a Launcher App

To simplify the execution of the stack an Android application has been developed. If using the application, the configuration file has to be named settings Install the MF Launcher App on the Android device. Alternatively, compile and install the Launcher app from sources contained in the MobilityFirst repository under tools/android-launcher. Use the start/stop buttons on the launcher app screen to control the running of the stack, providing the log level value when prompted (the GUID value is not required anymore as is provided through the configurations file).

Note: See TracWiki for help on using the wiki.