RSAT class and more

Login to reply to this topic.
Mon, 2004-12-06 17:15
Joined: 2004-12-06
Forum posts: 3

Hi,
i've decoded the GSM standard ETSI about SIM application Toolkit and now
i know how build command to interact with SIM.
For example to retrieve Network info like CellID,RSSI,Timing Advance, Neighboor Cells, Frequency channel of neigboor bts etc.
My problem is how to give these commands to the phone (i have a Nokia 6600), the possibilities (according to my opinion) are two:
1. Using the modem and a non-public AT Command to enter in SIM Toolkit

2. Trying to use the ETELSAT.H header that is not in the SDK offered by Nokia.

Can anyone send me this Header or tell me where to find it?
If someone is intersted i can explain the SIM command in ETSI GSM but
please help me...is very important!!!!

Mon, 2004-12-06 18:06
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 2029
RSAT class and more
1. Sending AT Command: AFAIK, you can send AT command from the phone to the modem but you do not have any return path (i.e. no way to check that the command has correctly executed and no way to send information from the modem to the phone).

2. The API is not public and you are not supposed to use it (and I am not sure you can use it even if you have access to the etelsat.h header).

Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

Mon, 2004-12-06 19:02
Joined: 2004-12-06
Forum posts: 3
to eric
May be....
are some ideas to interact with sim ?
I have the headers   ETELAGSM.H, do you know how to use it?
Bye
Mon, 2006-03-06 15:43
Joined: 2006-03-06
Forum posts: 3
Re: RSAT class and more
Alexius,
I'm able to send at command from mobile to itself and catch correctly the output.
I think with AT commands like +CSIM we can get this kind of info (rssi, cellid,...) but i'm not able to compile correctly +CSIM  command or other at command (can you help me?)

This is my code for sending AT cmd from 6630 to itself and for retrieve the output.
It work fine dor me and no PC connection is needed!!

...
        #define PDD_NAME _L("EUART1")
   #define LDD_NAME _L("ECOMM")
        RCommServ server;
   RComm commPort;
        User::LoadPhysicalDevice (PDD_NAME);
   User::LoadLogicalDevice (LDD_NAME);
   StartC32 ();
   server.Connect ();
   code=commPort.Open (server, _L ("DATAPORT::1"), ECommShared);
   
..

TBuf8 < 80 > Stringaseriale;   
TBuf8 < 200 > MyInputBuffer;
TBuf8<100> ATCommand;   
TBuf8<100> ATResponse;   // buffer for the response
ATCommand.Copy(_L("AT+CSQ=?\r\n"));   // command to send like AT+CSQ=?
_LIT8(KOK,"OK");
_LIT8(KERR,"ERROR");
Stringaseriale.Copy(ATCommand);
result.Copy(_L(""));
commPort.Write(aStatus,Stringaseriale,Stringaseriale.Length());
   User::WaitForRequest(aStatus);
   code=aStatus.Int();
   MyInputBuffer.Copy(_L("***"));
   commPort.ReadOneOrMore(MyStatus, MyInputBuffer);
   User::WaitForRequest (MyStatus);
   result.Append(MyInputBuffer);
   while ((MyInputBuffer.Find(KOK)==KErrNotFound)&&(MyInputBuffer.Find(KERR)==KErrNotFound))
      {
      commPort.ReadOneOrMore(MyStatus, MyInputBuffer);
      User::WaitForRequest (MyStatus);
      result.Append(MyInputBuffer);
   }
        // here response is available in MyInputBuffer

Can you or someone help me to correctly compile at commands for retrieve radio information?
Thanks
Carlo


Tue, 2006-03-07 05:21
Joined: 2004-11-02
Forum posts: 52
Re: RSAT class and more
<etelsat.h> is only the ETEL/(U)SAT client API. Symbian  does not implement these APIs in ETEL/TSY, at least in v8.1b.

To interact with (U)SIM card from RSat API, you'd have to implement a (U)SAT TSY extension, which send (U)SAT commands to (U)SIM and receive Proactive Command from (U)SIM. 3GPP TS 31.111 tells more.

AFAIK, those HMI fuctions, involving (U)SIM accessing, does not use AT command to achieve that, but send (U)SIM commands to read/write EF files, etc.

NewLC #2150

Wed, 2006-03-08 17:03
Joined: 2006-03-06
Forum posts: 3
Re: RSAT class and more
Ssuu,
thank you for this idea.

Have you a little example code or a link about communication with SIM for read/write EF files via TSY extensions ?
Thanks
Carlo
Mon, 2006-03-13 03:01
Joined: 2004-11-02
Forum posts: 52
Re: RSAT class and more
To: Carlo

Oh, to communicate with (U)SIM card involves a lot.

Basically the real (U)SIM commands are issued on C-CPU side on request from A-CPU side. That would be quite vendor-dependent, I think.

Sorry I cannot post any sample code here, in case ... get fired.  hehe...

NewLC #2150

Mon, 2006-03-13 10:47
Joined: 2006-03-06
Forum posts: 3
Re: RSAT class and more
To ssuu:

No problem!
Thanks.
Carlo
Fri, 2006-07-07 10:05
Joined: 2006-04-17
Forum posts: 36
Re: RSAT class and more
Hi!

Have you been able to find timing advance. I am working on a application which requires TA and neighbouring cell strength

Please help

thanks
rishabh

Thanks & regards

Rishabh

Thu, 2006-07-27 05:47
Joined: 2005-07-06
Forum posts: 53
Re: RSAT class and more
HI

its possible to get TA, neighbour cells in a legal way
Fri, 2006-07-28 17:07
Joined: 2006-04-17
Forum posts: 36
Re: RSAT class and more
Hi!

I have searched a lot for timing advance and neighboring cellinfo but couldn,t find a way out. Netmonitor is banned by nokia people. As far as signal strength is concerned you mail me ur emai lid and i can give you the code

Thanks & regards

Rishabh

Tue, 2006-08-01 05:48
Joined: 2005-07-06
Forum posts: 53
Re: RSAT class and more
hi rishabh

how to calculate dbm value do u have any idea?
Thu, 2006-08-03 16:38
Joined: 2006-04-17
Forum posts: 36
Re: RSAT class and more
The vallue that you get is in dbm only

Thanks & regards

Rishabh

  • Login to reply to this topic.