telephonyserverplugins/attestltsy/config/configatmodem.bat
author Tom Pritchard <tomp@symbian.org>
Wed, 24 Feb 2010 13:44:01 +0000
branchAT_Test_LTSY
changeset 6 9b3b5a50db11
parent 4 3cf043a18b40
child 10 4d82aaca4452
permissions -rw-r--r--
Updating the config script to setup commdb dynamically
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     1
@echo off
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     2
REM Copyright (c) 2010 Symbian Foundation and/or its subsidiary(-ies).
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     3
REM All rights reserved.
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     4
REM This component and the accompanying materials are made available
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     5
REM under the terms of Eclipse Public License v1.0
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     6
REM which accompanies this distribution, and is available
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     7
REM at the URL http:REMwww.eclipse.org/legal/epl-v10.html.
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     8
REM
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     9
REM Initial Contributors:
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    10
REM Symbian Foundation - initial contribution.
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    11
REM
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    12
REM Contributors:
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    13
REM
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    14
REM Description:
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    15
REM
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    16
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    17
echo Backup hctl_base.dll:
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    18
move /-Y \epoc32\release\winscw\udeb\hctl_base.dll \epoc32\release\winscw\udeb\hctl_base.bak
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    19
6
9b3b5a50db11 Updating the config script to setup commdb dynamically
Tom Pritchard <tomp@symbian.org>
parents: 4
diff changeset
    20
echo Copying UREL version of hctl_base.dll:
9b3b5a50db11 Updating the config script to setup commdb dynamically
Tom Pritchard <tomp@symbian.org>
parents: 4
diff changeset
    21
copy /Y \epoc32\release\winscw\urel\hctl_base.dll \epoc32\release\winscw\udeb\hctl_base.dll
4
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    22
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    23
echo Backup phonetsy.tsy:
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    24
move /-Y \epoc32\release\winscw\udeb\phonetsy.tsy \epoc32\release\winscw\udeb\phonetsy.bak
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    25
6
9b3b5a50db11 Updating the config script to setup commdb dynamically
Tom Pritchard <tomp@symbian.org>
parents: 4
diff changeset
    26
echo Copying phonetsywithdispatcher.tsy to phonetsy:
9b3b5a50db11 Updating the config script to setup commdb dynamically
Tom Pritchard <tomp@symbian.org>
parents: 4
diff changeset
    27
copy /Y \epoc32\release\winscw\udeb\phonetsywithdispatcher.tsy \epoc32\release\winscw\udeb\phonetsy.tsy
4
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    28
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    29
echo Setup the feature manager to include GSM and WCDMA features:
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    30
@perl -S -I/epoc32/tools/featmgr /sf/os/cellularsrv/telephonyserverplugins/attestltsy/config/modifyfeaturedb.pl
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    31
6
9b3b5a50db11 Updating the config script to setup commdb dynamically
Tom Pritchard <tomp@symbian.org>
parents: 4
diff changeset
    32
echo Setuping CommDB:
9b3b5a50db11 Updating the config script to setup commdb dynamically
Tom Pritchard <tomp@symbian.org>
parents: 4
diff changeset
    33
REM copy /Y \sf\os\cellularsrv\telephonyserverplugins\attestltsy\config\AT-LTSY(default).cfg \epoc32\winscw\c\AT-LTSY(default).cfg
9b3b5a50db11 Updating the config script to setup commdb dynamically
Tom Pritchard <tomp@symbian.org>
parents: 4
diff changeset
    34
cd \sf\os\cellularsrv\telephonyserverplugins\attestltsy\config
9b3b5a50db11 Updating the config script to setup commdb dynamically
Tom Pritchard <tomp@symbian.org>
parents: 4
diff changeset
    35
@perl -S /sf/os/cellularsrv/telephonyserverplugins/attestltsy/config/modifycommdb.pl
4
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    36
\epoc32\release\winscw\udeb\ced.exe -Dtextshell -- c:\AT-LTSY(wavcom).cfg
3cf043a18b40 Adding config script - now you should be able to run ConfigAtModem from this folder
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    37
6
9b3b5a50db11 Updating the config script to setup commdb dynamically
Tom Pritchard <tomp@symbian.org>
parents: 4
diff changeset
    38
REM M:\sf\os\devicesrv\sysstatemgmt\group>sbs -b bld.inf -c winscw_udeb RESOURCE