This sample app demonstrates a modem app. It uses modem services with .adef bindings and related @ .cdef requires provides, and sources sections.
Before you install this sample app:
Run this to install the sample app:
$ cd apps/sample/modemDemo $ make wp85 $ instapp modemDemo.wp85.update <ip address>
where ip address is the address of your target device.
If you're using an AR7 module in your target, substitute ar7
for wp85
.
The modemDemo app accepts several commands (through sending the target a SMS message) and will reply with the results:
The sample app can be customized by editing the modemDemo.adef
and related C source files.
In modemDemo.adef
, you can add a send
execution on start-up to notify you when the app is running. Uncomment the run
line and replace +18005550199
by your own cell number.
In modemDemo/demo.c
, it's also possible to extend the list of processed commands.
Copyright (C) Sierra Wireless Inc. Use of this work is subject to license.