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 Linux User’s Manual Programmer’s Guide
6-19
Buzzer
Turns on the buzzer.
void mxbeep_on(void);
Inputs:
None
Return Values:
None
Remark:
Turns off the buzzer.
void mxbeep_off(void);
Inputs:
None
Return Values:
None
Remark:
A. Installing the “libsms” library
To use this library, you must have the toolchain installed. The library will be installed
during the toolchain installation process. Refer to the Installing the Tool Chain (Linux)
section.
B. Building the example “egprscmd”
Copy the example source to your linux host,
debian:/cp –r /media/cdrom1/example/W406_gprs_utility/home/work/egprscmd
debian:/cd /home/work/W406_gprs_utility
debian:/home/work/W406_gprs_utility# make
arm-linux-gcc -g -O2 -I/usr/local/arm-linux/include/libsms -c main.c
arm-linux-gcc -g -O2 -I/usr/local/arm-linux/include/libsms -c fn.c
arm-linux-gcc -g -O2 -I/usr/local/arm-linux/include/libsms -lsms -o egprscmd main.o
fn.o -lsms
debian:/home/work/W406_gprs_utility#