Running Host Protocol Stack
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
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).