Application crashes on Loading TSY

Login to reply to this topic.
Sat, 2004-12-04 09:03
Joined: 2004-05-20
Forum posts: 308
My Application crashes on
Code:
User::LeaveIfError(server.LoadPhoneModule(KGsmModuleName));
where
Code:
_LIT(KGsmModuleName, "phonetsy.tsy");

dont know the reason Huh Can someone tell me ?
Code:

Thanks

Amit


Mon, 2004-12-06 08:08
Joined: 2004-07-02
Forum posts: 28
Application crashes on Loading TSY
Hi Amit,

One important point...you have to do StartC32() before loading TSY.
Are you doing that?

Sequence:

1.TInt nStart = StartC32 ();
2.RCommServ::LoadCommModule(ECUART)
3.Now Connect to RTelServer and Load TSY.

This should work


Suggestions:

Keep RTelServer instance, as a member variable of ur class
Is RTelServer.Connect() a success?

Is phonetsy.tsy compiled and build to your image?Check rom.oby

Before you leave, whats the return value of LoadPhoneModule?


Hope it helps.

Regards,
Dhans
Mon, 2004-12-06 08:43
Joined: 2004-05-20
Forum posts: 308
Application crashes on Loading TSY
Thnx Dhans...
But i m oly using Phonetsy.tsy which comes in the phone .
My requirement is to Get the Battery Status in % from RMobileClass.For this i need cooomunication with RTelServer.

Also the second requirement is to keep an observer on Incoming Calls and read the missed calls.
If u know the workaround , plzzzz

Thanks

Amit

Mon, 2004-12-06 10:40
Joined: 2004-07-02
Forum posts: 28
Application crashes on Loading TSY
Amit.......

StartC32() needs to be called before loading anyways.

Do try the sequence.It might just work.
I have loaded phonetsy.tsy in the same sequence.
Works for me.

Regards,
Dhans
Mon, 2006-04-17 12:03
Joined: 2005-06-12
Forum posts: 41
Re: Application crashes on Loading TSY
Amit ..
What I saw in SDK help is that StartC32() is in serial communications. But here serial communciations is not required. Even ECUART is used in serial commmunications.

I am also facing the same problem.
LoadPhoneModule says ItemNotFound.

Please help how to correct that. This is urgent.
Mon, 2006-04-17 20:55
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 2029
Re: Application crashes on Loading TSY
You should not hardcode the name of the TSY. Don't remember how to detect its name dynamically but this has been published on the web.

Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

  • Login to reply to this topic.