This sample demonstrates a simple app running inside a sandbox that prints information about files or directories specified from the command line. It has an adef
with an executables section, and cdef
with sources section.
Run this to install the sample app:
$ cd apps/sample/commandLine $ make wp85 $ instapp fileInfo.wp85 <ip address>
If you're using an AR7 or WP7 module in your target, substitute ar7
or wp7
for wp85.
This sample app takes a command with a list of file/directory paths, and accepts additional options like -x
or –max-count
.
See
Create Apps
Copyright (C) Sierra Wireless Inc. Use of this work is subject to license.