User`s manual
Table Of Contents
- 1. Introduction
- 2. Getting Started
- Powering on the W406-LX
- Connecting the W406-LX to a PC
- Configuring the Ethernet Interface
- USB Port for Expansion
- SD Socket for Storage Expansion
- Setting Up the Wireless Module
- Configuring the SIM Card
- Entering the PIN Code
- Verifying the SIM Card Status
- Enabling or Disabling the PIN Code Authentication
- Changing the PIN Code
- Unlocking the SIM Card
- Connecting to the Internet
- Reconnecting to the Internet
- Disconnecting from the Internet
- Detecting an Internet Connection Error
- Sending and Reading an SMS Message
- Deleting an SMS Message
- Test Program—Developing Hello.c
- 3. Managing Embedded Linux
- 4. Managing Communications
- 5. Development Tool Chains
- 6. Programmer’s Guide
- 7. Software Lock
- A. System Commands

W406-LX User’s Manual Getting Started
2-17
Deleting an SMS Message
To delete an SMS message, use the sms_remove_msg command. For example, the
sms_remove_msg –i 1 command will delete the first SMS message.
Test Program—Developing Hello.c
In this section, we use the standard “Hello” programming example to illustrate how to develop a
program for the W406-LX. In general, program development involves the following seven steps.
Step 1: Connect the W406-LX to a Linux PC.
Step 2: Install Tool Chain (GNU Cross Compiler & glibc).
Step 3: Set the cross compiler and glibc environment variables.
Step 4: Code and compile the program.
Step 5: Download the program to the W406-LX Via FTP or NFS.
Step 6: Debug the program
Æ If bugs are found, return to Step 4.
Æ If no bugs are found, continue with Step 7.
Step 7: Back up the user directory (distribute the program to additional W406-LX units if needed).