Symbian3/PDK/Source/GUID-EE0D8964-C343-5389-8932-9AC48DCC67FD.dita
changeset 1 25a17d01db0c
child 3 46218c8b8afa
equal deleted inserted replaced
0:89d6a7a84779 1:25a17d01db0c
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7     Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->
       
    10 <!DOCTYPE concept
       
    11   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
       
    12 <concept xml:lang="en" id="GUID-EE0D8964-C343-5389-8932-9AC48DCC67FD"><title>SMS Stack Configuration</title><shortdesc>This section describes how to configure the SMS stack using <codeph>ESK</codeph> files. <codeph>ESK</codeph> is a socket server (ESOCK) configuration file. </shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody><p>The <codeph>smswap.sms.esk</codeph> is used by the socket server during the initialisation of the SMS stack. The data from the ESK file is used to initialise the SMS stack variables. The smswap.sms.esk file is stored in the following locations: </p> <p> <codeph>\epoc32\data\z\private\101F7989\ESock</codeph>  </p> <p> <codeph>\epoc32\wins\c\private\101f7989\ </codeph>  </p> <example id="GUID-F2B579A2-0128-5547-B1DC-54C66C65F655"><title>Configuration example</title> <p>A basic ESK file to load the SMS stack contains the following fields defined; </p> <codeblock id="GUID-F604F004-8CE6-527B-B31C-14196C8F2B6F" xml:space="preserve">
       
    13 [sockman]
       
    14 protocols= sms
       
    15 
       
    16 [sms]
       
    17 filename= SMSPROT.PRT
       
    18 index= 1
       
    19 </codeblock> <p>The SMS stack can be configured to handle some error conditions. If the following error conditions are not defined, or value specified is 0, the SMS stack sends a positive acknowledgement and discards the PDUs with the error. When the following error conditions are defined (value=1) in the ESK files, negative acknowledgement is sent and the PDUs with the error conditions are discarded. </p> <p>The timer values to start and the timer value to send a message can be changed from default value of 1 minute using following fields: </p> <codeblock id="GUID-F0AA1510-4854-59B9-A9CA-9ADC96DFE417" xml:space="preserve">
       
    20 [customTimeoutSettings]
       
    21 sendTryTimeout= 120000000
       
    22 bootTimerTimeout= 30000000
       
    23 </codeblock> </example> </conbody><related-links><link href="GUID-266B3FD6-A414-599D-BF31-FF67ADDD4E70.dita"><linktext> SMS Stack Configuration
       
    24                 for Class 0 Messages</linktext> </link> </related-links></concept>