Monday, February 22, 2010

TGIM

Thank God! its going to be Monday soon!
The weekend was very dull outside. It was a couple of degrees below zero and the sky was covered with cloud with forecast of rain or snow. I stayed mostly inside. Apart from chatting with my wife over the phone (thanks to VOIP telephony) I did not have anything exciting planned. So I decided to play around with something that was on my mind for sometime.

You all must have used (or at least heard) of software such as Nokia(TM) PC Suite and the Sony Ericsson(TM) PC Suite. I have always been wondering how these applications connect to the phone and retrieve all the data to and fro from the device. Well, it seems fairly easy. Whenever we hook up our phone to the PC (by USB cable or bluetooth) it establishes a connection on a PC's Serial COM port. Then these software issue AT commands (mostly) to perform all the "magical" operations.

So, there I was, I connected my ME (nothing fancy, W890i) to my laptop through the USB cable. I then identified the COM port, from the Vista Device Manager, being used by the connection. Fired up PuTTY and selected the serial mode with the COM port number (COM13 in my case). That opened up a session with my phone on the PuTTYconsole itself!

I then downloaded the AT Command list from Sony Ericsson developer site (Publication number: 1206-6103.15) and played around with them. For example, refer to the screenshot below for some of the commands that I executed:

For example at+csca? queries the phone to get the current SMSC address. at+csq? reports the signal quality. 17 indicates the rssi (received signal strength indication) is -70 dBm. at+cbc? reports the battery charge on the phone. 1 indicates that the phone has a battery connected as is currently being charged (which is obvious, because the PC was charging it through the connected USB cable) and 42 indicates the current level of charge (as a percentage) in the battery.

We can do a lot more. Read SMS, write and store SMS and what not! I shall explore this further and come up with more ideas over time. A fruitful weekend after all!

Saturday, February 6, 2010

लोकल ट्रेन का सफर

नेताजी ने आज लोकल ट्रेन में सफर किया| इस खबर पर समाचार माद्यम टूट पड़े| इन्टरनेट पर विडियो क्लिप्स भी आनन् फानन में जोड़े गए| विशेषज्ञों ने अपनी विशेष राए में यह बात रखी के ऐसा करके नेताजी ने अपने प्रतिद्वंदियों को मुंह तोड़ जवाब दिया है|

यह भी देखा गया के एक सफर के साथी नेताजी से बात करते हुए इतने भावुक हो उठे के उन्होंने यह कह दिया के नेताजी इतने अग्रिम राजनीतिज्ञ हैं उन्हें उनके प्रतिद्वंदियों के धमको को हंसी में उड़ा देना चाहिए| शायद सज्जन यह भूल गए के नेताजी इस देश के उन 'खास' लोगों में से हैं जिनकी सुरक्षा के लिए राजकोष का धन खुल्ला खर्च किया जाता है|

कब? कब इस देश की जनता नेताओं को देखकर पसीजना बंद करेंगे? कब इस स्वतंत्र देश के लोग अपने नेताओं को देश की इस हालत के लिए उन्हें जिम्मेदार ठहराएंगे? कब?

That's all in Hindi today. Used the new IME tool from Google to type in the text. It's cool!

तुम आओ तो सही...

This blog of mine, would be saying to me the same thing... एक वादा करो अब हमसे ना बिछड़ोगे कभी, नाज़ हम सारे उठा लेंगे, तुम आओ तो सही। An...