|
1 <html> |
|
2 |
|
3 <head> |
|
4 <meta http-equiv="Content-Type" |
|
5 content="text/html; charset=iso-8859-1"> |
|
6 <meta name="GENERATOR" content="Microsoft FrontPage Express 2.0"> |
|
7 <title></title> |
|
8 </head> |
|
9 |
|
10 <body> |
|
11 |
|
12 <h2>GT Messaging Test Harness T_SmsSendRecv</h2> |
|
13 |
|
14 <p><font size="2">Copyright © 2000-2002 </font><a |
|
15 href="http://www.symbian.com" target="_blank "><font size="2">Symbian |
|
16 Ltd</font></a><font size="2">. All rights reserved.</font></p> |
|
17 |
|
18 <p><strong>Test Harness:</strong> <font size="3">T_SmsSendRecv</font></p> |
|
19 |
|
20 <p><strong>Component:</strong> SMS</p> |
|
21 |
|
22 <p><strong>Owner:</strong> AA</p> |
|
23 |
|
24 <p><strong>Brief Description:</strong> Sends and waits to receive |
|
25 SMS messages specified in sendrecv.script</p> |
|
26 |
|
27 <p><strong>Detailed Description:</strong> As Above</p> |
|
28 |
|
29 <p><strong>Input Files REQUIRED:</strong></p> |
|
30 |
|
31 <blockquote> |
|
32 <p><tt><DRIVE>:\msgtest\sms\defaults.script<br> |
|
33 <DRIVE>:\msgtest\sms\sendrecv.script</tt></p> |
|
34 </blockquote> |
|
35 |
|
36 <p><strong>Intermediate Files Produced:</strong> None</p> |
|
37 |
|
38 <p><strong>Output files produced:</strong> <tt><DRIVE>:\msglogs\T_SmsSendRecv.<PLATFORM>.<VARIANT>.log</tt></p> |
|
39 |
|
40 <p><strong>Building Instructions:</strong></p> |
|
41 |
|
42 <blockquote> |
|
43 <p><tt>cd \msg\smcm<br> |
|
44 bldmake bldfiles<br> |
|
45 abld test build</tt></p> |
|
46 </blockquote> |
|
47 |
|
48 <p><strong>Running Instructions:</strong></p> |
|
49 |
|
50 <p>All Platforms:</p> |
|
51 |
|
52 <blockquote> |
|
53 <p>1. Build T_CreateDb test harness from COMMDB component:</p> |
|
54 <blockquote> |
|
55 <p><tt>cd \commdb\group<br> |
|
56 bldmake bldfiles<br> |
|
57 abld test build T_CreateDb</tt></p> |
|
58 </blockquote> |
|
59 <p>2. Run T_CreateDb and select the your modem (probably GSM |
|
60 Mobile Phone)</p> |
|
61 <p>3. Build the test utilities:</p> |
|
62 <blockquote> |
|
63 <p><tt>cd \msg\testutils\group\<br> |
|
64 bldmake bldfiles<br> |
|
65 abld test build</tt></p> |
|
66 </blockquote> |
|
67 <p>4. Build <em>this</em> test harness:</p> |
|
68 <blockquote> |
|
69 <p><tt>cd \msg\smcm<br> |
|
70 bldmake bldfiles<br> |
|
71 abld test build t_smcmrecvmanual</tt></p> |
|
72 </blockquote> |
|
73 <p>5. Edit <tt>\epoc32\wins\c\msgtest\sms\</tt><strong><tt>defaults.script</tt></strong>. |
|
74 Replace the telephone number ("Recipients") with <em>your</em> |
|
75 mobile's number. You may also need to change the service |
|
76 centre ("SC") number (the default is for <a |
|
77 href="http://www.vodafone.co.uk" target="_blank ">Vodafone UK</a>). |
|
78 For example, change the telephone number like so:</p> |
|
79 <blockquote> |
|
80 <p><tt>[Defaults]<br> |
|
81 SC= +447785016005<br> |
|
82 Encoding= 7<br> |
|
83 DeliveryReport= DEF<br> |
|
84 Bearer= NBS<br> |
|
85 </tt><font color="#FF0000"><strike><tt>Recipients= +447747065xxx</tt></strike></font><tt><br> |
|
86 </tt><font color="#0000FF"><tt>Recipients= +447747065511</tt></font><tt><br> |
|
87 <br> |
|
88 endscript</tt></p> |
|
89 </blockquote> |
|
90 </blockquote> |
|
91 |
|
92 <p>WINS Only:</p> |
|
93 |
|
94 <blockquote> |
|
95 <p>1. Run T_CreateDb.exe (if it has not already been run) and |
|
96 select your modem (GSM mobile phone).</p> |
|
97 <p>2. <tt>\epoc32\release\wins\<VARIANT>\T_SmsSendRecv.exe</tt> |
|
98 can be used at the command prompt or executable can be run |
|
99 from Windows Explorer.</p> |
|
100 </blockquote> |
|
101 |
|
102 <p>Platform other than WINS:</p> |
|
103 |
|
104 <blockquote> |
|
105 <p>1. Copy <tt>\epoc32\release\<PLATFORM>\<VARIANT>\</tt><strong><tt>T_SmsSendRecv.exe</tt></strong> |
|
106 onto the other platform (or onto the CF card)</p> |
|
107 <p>2. Copy <tt>\epoc32\release\<PLATFORM>\<VARIANT>\T_CreateDb</tt><strong><tt>.exe</tt></strong> |
|
108 onto the other platform (or onto the CF card)</p> |
|
109 <p>3. Copy <tt>\epoc32\release\<PLATFORM>\<VARIANT>\</tt><strong><tt>MsvTestUtils.DLL</tt></strong> |
|
110 into <tt><DRIVE>:\system\libs</tt> on the other |
|
111 platform (or onto the CF card)</p> |
|
112 <p>4. Copy <tt>\epoc32\release\<PLATFORM>\<VARIANT>\</tt><strong><tt>SmsTestUtils.DLL</tt></strong> |
|
113 into <tt><DRIVE>:\system\libs</tt> on the other |
|
114 platform (or onto the CF card)</p> |
|
115 <p>5. Copy <tt>\epoc32\wins\c\msgtest\sms\</tt><strong><tt>sendrecv.script</tt></strong> |
|
116 and <strong><tt>defaults.script</tt></strong> into <tt><DRIVE>:\msgtest\sms</tt> |
|
117 on the other platform (or onto the CF card)</p> |
|
118 <p>6. <strong>Run T_CreateDb.exe</strong> on the other |
|
119 platform (if it has not already been run) and select your |
|
120 modem (GSM mobile phone).</p> |
|
121 <p>7. <strong>Run T_SmsSendRecv.exe</strong> on the other |
|
122 platform.</p> |
|
123 </blockquote> |
|
124 |
|
125 <p><font size="2">Copyright © 2000-2002 </font><a |
|
126 href="http://www.symbian.com" target="_blank"><font size="2">Symbian |
|
127 Ltd</font></a><font size="2">. All rights reserved.</font> </p> |
|
128 </body> |
|
129 </html> |