Seite 1 von 1

Can u help me to share small piece of code?

Verfasst: Di 3. Jul 2007, 03:22
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

I-MEI

Verfasst: Di 3. Jul 2007, 06:58
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

Verfasst: Di 3. Jul 2007, 18:15
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)

Verfasst: Do 5. Jul 2007, 16:03
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

Verfasst: Do 5. Jul 2007, 16:50
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) 

Verfasst: So 8. Jul 2007, 16:01
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

Verfasst: So 8. Jul 2007, 16:18
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.

Verfasst: Mo 9. Jul 2007, 06:03
von blackmarlincode
Where i can find LOG of MyPhoneExplorer??
i can't find itu at %temp%... :o

Verfasst: Mo 9. Jul 2007, 06:28
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.

Verfasst: Mo 16. Jul 2007, 10:01
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

Verfasst: Mo 16. Jul 2007, 12:29
von FJ
Just take a look at the logfile of MyPhoneExplorer. You'll find everything there.
AT+CCLK