|
|
User login
Feeds |
RSAT class and more
|
|||||
| Mon, 2004-12-06 17:15 | |
|
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!!!! |
|
Forum posts: 2029
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
Forum posts: 3
are some ideas to interact with sim ?
I have the headers ETELAGSM.H, do you know how to use it?
Bye
Forum posts: 3
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
Forum posts: 52
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
Forum posts: 3
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
Forum posts: 52
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
Forum posts: 3
No problem!
Thanks.
Carlo
Forum posts: 36
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
Forum posts: 53
its possible to get TA, neighbour cells in a legal way
Forum posts: 36
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
Forum posts: 53
how to calculate dbm value do u have any idea?
Forum posts: 36
Thanks & regards
Rishabh