On Saturday 04 December 2004 15:33, Martin List-Petersen wrote:
> > You also said, if I understood you correctly,
> > that you could communicate with the phone with Bluetooth
> > through /dev/rfcomm0 .
> > I know that is supposed to be possible,
> > but I've never been able to do it with minicom.
> > What program do you use for this purpose?
> > If minicom, what initial string do you use?
>> minicom, simply ATZ will do, or any customer initstring that you wish.
OK, I just tried minicom,
after setting minicom's serial port to /dev/rfcomm0 .
This is what I get.
I'm more than willing to believe I've done something stupid ...
But it shows that for me at least minicom/AT is far from simple to use.
==========================================
Script started on Sat 04 Dec 2004 17:02:13 GMT
[tim at william ~]$ sudo service bluetooth restart
Stopping Bluetooth services: ...
Starting Bluetooth services: ...
[tim at william ~]$ hcitool scan
Scanning ...
00:02:EE:10:A5:BE gayleard
[tim at william ~]$ ls -ls /dev/rfcomm0
[00mls: /dev/rfcomm0: No such file or directory
[tim at william ~]$ sudo rfcomm bind 0 $PHONE 1
[tim at william ~]$ ls -ls /dev/rfcomm0
[00m0 crw------- 1 tim root 216, 0 Dec 4 17:04 /dev/rfcomm
[tim at william ~]$ minicom
minicom: cannot open /dev/rfcomm0: No such file or directory
[tim at william ~]$ sudo !!
sudo minicom
minicom: cannot open /dev/rfcomm0: Host is down
[tim at william ~]$ ls -ls /dev/rfcomm0
[00m0 crw------- 1 tim root 216, 0 Dec 4 17:04 [40;33;01m/dev/rfcomm0[00m
[tim at william ~]$ exit
exit
Script done on Sat 04 Dec 2004 17:05:27 GMT
==========================================
> Even for using gnokii over bluetooth you will need to have a working
> bluez/rfcomm setup.
You need bluettooh, obviously.
But you don't need to know anything about rfcomm.
==========================================
Script started on Sat 04 Dec 2004 17:12:05 GMT
[tim at william ~]$ sudo service bluetooth restart
...
[tim at william ~]$ gnokii --identify
GNOKII Version 0.6.1
IMEI : 350841200802729
Manufacturer : Nokia
Model : NPE-4
Revision : V 04.20
[tim at william ~]$ exit
exit
Script done on Sat 04 Dec 2004 17:12:40 GMT
==========================================
--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!