User`s manual

Table Of Contents
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#