Symbian3/PDK/Source/GUID-EE0D8964-C343-5389-8932-9AC48DCC67FD.dita
author Dominic Pinkman <Dominic.Pinkman@Nokia.com>
Thu, 11 Mar 2010 18:02:22 +0000
changeset 3 46218c8b8afa
parent 1 25a17d01db0c
child 5 f345bda72bc4
permissions -rw-r--r--
week 10 bug fix submission (SF PDK version): Bug 1892, Bug 1897, Bug 1319. Also 3 or 4 documents were found to contain code blocks with SFL, which has been fixed. Partial fix for broken links, links to Forum Nokia, and the 'Symbian platform' terminology issues.

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License 
"Eclipse Public License v1.0" which accompanies this distribution, 
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
    Nokia Corporation - initial contribution.
Contributors: 
-->
<!DOCTYPE concept
  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<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">
[sockman]
protocols= sms

[sms]
filename= SMSPROT.PRT
index= 1
</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">
[customTimeoutSettings]
sendTryTimeout= 120000000
bootTimerTimeout= 30000000
</codeblock> </example> </conbody><related-links><link href="GUID-266B3FD6-A414-599D-BF31-FF67ADDD4E70.dita"><linktext> SMS Stack Configuration
                for Class 0 Messages</linktext> </link> </related-links></concept>