6 Software
User Manual 50/374
If the apn-default.xml file is available, the daemon uses the the first entry of the file whether this provider
identification number fits or not.
The apn-default.xml file has nearly the same behavior as the manually set GPRS parameters mechanism of the
daemon. But here is the benefit that the automatically detection will be used first.
Typically user defined apns.conf.xml file
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<apns version="7">
<apn carrier="T-Mobile Internet"
mcc="262"
mnc="01"
apn="internet.telekom"
user="tm"
password="tm"
type="default,supl"
/>
</apns>
The following configuration files will
be created:
/etc/ppp/pap-secrets .. PAP
secrets for pppd
/etc/ppp/gprs-options_gsm
.. option file for pppd
This shell script starts the /usr/sbin/pppd
(PPP connection) to establish a GPRS
connection. It uses /dev/mux0 and if the
/etc/init.d/rc.conf GSM settings are NOT
activated then the automatically created
APN settings will be used.
This shell script kills the /usr/sbin/pppd to
disconnect the GPRS connection.
6.4.1.2 SMS
The easiest way to handle the Short Message Service, is to activate and configure the SMS daemon.
SMS daemon configuration file (see "SMS daemon" on page 97)
Precondition:
To apply the changes, the system needs to be rebooted.
Library
ysmsd_send_sms (see
"ysmsd_send_sms" on page 232)
The TAF library function sends a SMS.
ysmsd_send_sms_urgent (see
"ysmsd_send_sms_urgent" on page
233)
The TAF library function sends a urgent SMS.