Fishpond 604x90

Monday, October 02, 2006

Sending SMS over irda with my new Nokia 6070

After some struggle, with the help of google, I finally found out how to send sms from my computer over infrared connection with my new mobile phone Nokia 6070. To do this under FreeBSD, I have installed birda. Then connect the phone to my computer with

$ ircomm -d /dev/cuad1 -y /dev/ptypv -v 2

This is my second serial port, which is visible after infrared is enabled in the bios. Now the phone should be detected and connected successfully. The screen shows

query completed
discovered Nokia 6070, address=d2250000, hints=PnP, Modem, Fax, Telephony, IrCOMM, IrOBEX
query completed
115200 baud
LAP connected
comm connected

I use minicom to communicate with the phone

$ minicom -p /dev/ttypv
Welcome to minicom 2.1

OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n
Compiled on Sep 29 2006, 19:56:44.

Press CTRL-A Z for help on special keys

AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
OK

The last line shows that it connects correctly. With the following command, I'm able to send an sms

at+cmgf=1
OK
at+cmgs="your phone number here"
> hello, a new test
> hope it works
>
(Type Ctrl-Z here to send the message)
+CMGS: 12

OK
Done, I got the message instantly. Good luck for your exploring with your mobile phone.

2 comments:

Anonymous said...

Genial fill someone in on and this fill someone in on helped me alot in my college assignement. Say thank you you as your information.

Anonymous said...

What a great web log. I spend hours on the net reading blogs, about tons of various subjects. I have to first of all give praise to whoever created your theme and second of all to you for writing what i can only describe as an fabulous article. I honestly believe there is a skill to writing articles that only very few posses and honestly you got it. The combining of demonstrative and upper-class content is by all odds super rare with the astronomic amount of blogs on the cyberspace.