Setup Demo
- Ensure SIM is registered to network. See SIM Commands.
- Ensure APN name has been set. See APN Commands.
- In modemDemo.adef file (only applies to modemDemo), modify "<please enter number here>" with your number:
processes:
run: ( send "<please enter number here>" "Welcome to modemDemo app")
run: ( modemDemo )
Install Demo
There are two sample applications included with Legato code to demo various services.
If you're using an AR7 module in your device, substitute ar7 for wp7.
AirVantage demo
- Warning
- You must setup an AirVantage connection to your Legato device before installing the AirVantage demo: Connect to AirVantage.
To install and use this app:
$ cd apps/sample/airvantageDemo
$ make wp7
$ instapp airvantageDemo.wp7 <ipaddress>
where ipaddress is the address of your target device.
modemDemo Sample App
To install and use this app:
$ cd apps/sample/modemDemo
$ make wp7
$ instapp modemDemo <ipaddress>
where ipaddress is the address of your target device.
Demo Commands
The modemDemo app accepts several commands (through sending the target a sms message) and will reply with the results:
- Status - return some status information of the target like radio is on/off and signal strength
- Sim - returns sim state/info (iccid and imsi)
- Online - turns on data connection
- Netinfo - network information like gateway address
- Offline - turns off data connection
- TestDataConnection - test data connection
What's Next?
Connect to AirVantage
Pushing Data
Copyright (C) Sierra Wireless, Inc. 2014. All rights reserved. Use of this work is subject to license.