Can u help me to share small piece of code?

For user who dont speak german please use this part of my forum
Antworten
blackmarlincode
Beiträge: 9
Registriert: Di 3. Jul 2007, 03:08
Kontaktdaten:

Can u help me to share small piece of code?

Beitrag von blackmarlincode »

Sorry for my poor english :lol:
I'm on final project. And need help for your related software "my phone explorer"
My name is Hendro. Student of Electrical Engineering of Jember Univercity, Indonesia.
My project is to determine if the speeds of mobility affected the speeds of internet over GPRS..
My plan is using Sony Ericsson k510i connected to Notebook using USB Data Cable.

The problems is:
1. I don't know how to check is the phone connected?
And how auto determine maximum BaudRate?
2. I want to know how to read this following Phone data :
- Phone Model
- Signal Quality
- Cell ID
- Provider
Bild
I'm using Visual Basic 6.....
Those data is very important for my final project..
Can u help me to share small piece of code :?: :?: :?: :?:

Greetz
Hendro, Student of Jember Univercity, Indonesia
Zuletzt geändert von blackmarlincode am Mi 4. Jul 2007, 00:05, insgesamt 2-mal geändert.
Cor
Beiträge: 127
Registriert: Mi 7. Jun 2006, 16:09
Wohnort: Gouda (NL)

I-MEI

Beitrag von Cor »

Hi Hendro,

You'd better remove your I-MEI on the picture. People can misuse your I-MEI. Also your call-id can be misused.

Regards,

Cor
Cor Oskam
Dutch Translator
g900 Vista MPE 1.7
FJ
Site Admin
Beiträge: 32109
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol

Beitrag von FJ »

I'll tell you the basics. If you are able to build and understand this i will tell you how to get the informations.

- you need to communicate to a serial port (pure API or MSComm.ocx)
- got to the developersite of SonyEricsson and download the AT-Commandrefrence
- try to implemnent easy requests in your app (like AT+CBC for accu-status)
blackmarlincode
Beiträge: 9
Registriert: Di 3. Jul 2007, 03:08
Kontaktdaten:

Beitrag von blackmarlincode »

Yup,thx for the info.
i've already download AT Command reference from Developer SE.com
I'm still learn how to implement it.

My Next Question is:
1. I'm still confuse with AT command AT+CSQ for checking Signal Streght.
is <rssi> 31 [-51 dBm or greater] is being defined as 100% :?: :?:

Thx
Hendro, Student of Jember Univercity, Indonesia
FJ
Site Admin
Beiträge: 32109
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol

Beitrag von FJ »

Correct way to decode the Value

Code: Alles auswählen

Val=Value from the Phone
dBm=Strength for display
Percent=Percent for display

   Select Case Val
    Case 0: dBm = -113
    Case 1: dBm = -111
    Case 2 To 30: dBm = -49 - 2 * Val
    Case 31: dBm = -51
   End Select

   Percent = Round(100 / 31 * Val) 
blackmarlincode
Beiträge: 9
Registriert: Di 3. Jul 2007, 03:08
Kontaktdaten:

Beitrag von blackmarlincode »

What is AT command for reading Reception and cell information?
Those are in Phone>Main Menu>Messages>settings>area info>

:roll: :roll:

Thx for u'r help
FJ
Site Admin
Beiträge: 32109
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol

Beitrag von FJ »

AT+CREG=2, after this command AT+CREG?. This is for CellID
AT+COPS? is for the operator name.

Just take a look at the logfile of MyPhoneExplorer. You'll find everything there.
blackmarlincode
Beiträge: 9
Registriert: Di 3. Jul 2007, 03:08
Kontaktdaten:

Beitrag von blackmarlincode »

Where i can find LOG of MyPhoneExplorer??
i can't find itu at %temp%... :o
FJ
Site Admin
Beiträge: 32109
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol

Beitrag von FJ »

Menu->Options->Connection->Show logfile. Since v1.6. To find out the temperature is a littlebit more complex cause the response is diffrent on some models.
blackmarlincode
Beiträge: 9
Registriert: Di 3. Jul 2007, 03:08
Kontaktdaten:

Beitrag von blackmarlincode »

How to syncronize phone time to the PC time??? I've read the list of all AT Command, but still i've got no idea how to make it... :?: :?:

Thx for help
FJ
Site Admin
Beiträge: 32109
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol

Beitrag von FJ »

Just take a look at the logfile of MyPhoneExplorer. You'll find everything there.
AT+CCLK
Antworten