## GT Messaging Test Harness T_SmcmRecvManual

Copyright © 2002 Symbian Ltd. All rights reserved.

Test Harness: T_SmcmRecvManual

Component: SMS

Owner: AA

Brief Description: Waits to receive incoming SMS messages. Can also start and stop the watchers, and send messages to itself.

Detailed Description: Enables the user to observe incoming SMS messages. The use can:

- Start and stop the watchers
- Send a short (single-part) message to themselves
- Send a long (2-part) message to themselves
- Send all messages in sendrecv.script to themselves.

Input Files REQUIRED:

> `<DRIVE>:\msgtest\sms\defaults.script
> <DRIVE>:\msgtest\sms\sendrecv.script`

Intermediate Files Produced: None

Output files produced: `<DRIVE>:\msglogs\T_SmcmRecvManual.<PLATFORM>.<VARIANT>.log`

Building Instructions:

> `cd \msg\smcm
> bldmake bldfiles
> abld test build`

Running Instructions:

All Platforms:

> 1. Build T_CreateDb test harness from COMMDB component:

> > `cd \commdb\group
> > bldmake bldfiles
> > abld test build t_createdb`

> 2. Run T_CreateDb and select the your modem (probably GSM Mobile Phone)

> 3. Build the test utilities:

> > `cd \msg\testutils\group
> > bldmake bldfiles
> > abld test build`

> 4. Build this test harness:

> > `cd \msg\smcm
> > bldmake bldfiles
> > abld test build` `t_smcmrecvmanual`

> 5. Edit `\epoc32\wins\c\msgtest\sms\``defaults.script`. Replace the telephone number ("Recipients") with your mobile's number. You may also need to change the service centre ("SC") number (the default is for Vodafone UK). For example, change the telephone number like so:

> > `[Defaults]
> > ` `SC= +447785016005
> > ` `Encoding= 7
> > DeliveryReport= DEF
> > Bearer= NBS
> > ` `Recipients= +447747065xxx``
> > ` `Recipients= +447747065511``
> > endscript`

WINS Only:

> 1. Run T_CreateDb.exe (if it has not already been run) and select your modem (GSM mobile phone).

> 2. `\epoc32\release\wins\<VARIANT>\T_SmcmRecvManual.exe` can be used at the command prompt or executable can be run from Windows Explorer.

Platform other than WINS:

> 1. Copy `\epoc32\release\<PLATFORM>\<VARIANT>\``T_SmcmRecvManual.exe` onto the other platform (or onto the CF card)

> 2. Copy `\epoc32\release\<PLATFORM>\<VARIANT>\``T_CreateDb.exe` onto the other platform (or onto the CF card)

> 3. Copy `\epoc32\release\<PLATFORM>\<VARIANT>\``MsvTestUtils.DLL` into `<DRIVE>:\system\libs` on the other platform (or onto the CF card)

> 4. Copy `\epoc32\release\<PLATFORM>\<VARIANT>\``SmsTestUtils.DLL` into `<DRIVE>:\system\libs` on the other platform (or onto the CF card)

> 5. Copy `\epoc32\wins\c\msgtest\sms\``sendrecv.script` and `defaults.script` into `<DRIVE>:\msgtest\sms` on the other platform (or onto the CF card)

> 6. Run T_CreateDb.exe on the other platform (if it has not already been run) and select your modem (GSM mobile phone).

> 7. Run T_SmcmRecvManual.exe on the other platform.

Copyright © 2002 Symbian Ltd. All rights reserved.