All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] BlueZ, Linux and Windows
@ 2005-06-20 15:20 Esther Lopez
  2005-06-24 15:03 ` [Bluez-users] " andreas knuth
  0 siblings, 1 reply; 4+ messages in thread
From: Esther Lopez @ 2005-06-20 15:20 UTC (permalink / raw)
  To: bluez-users


[-- Attachment #1.1: Type: text/plain, Size: 1689 bytes --]

Hello you all

I’m quite new at Linux and BlueZ, and I’m having lots of problems to get it
into work. I have a Linux PC (Fedora 4), a Windws XP PC, and a Ericsson T630
mobile phone.

I have also, a TDK Bluetooth USB adapter, and a conceptronic one, both found
in the BlueZ supported hardware.

 

Using the Fedora 4 PC, I have managed to discover the winPC and the mobile,
but when I try to connect to them an error is displayed (cannot attach
specified device). I also tried to pair the phone with the Linux PC, but an
error is displayed in the mobile. When I start the pairing from the Win PC,
the Linux one get’s blocked.

 

An application called “Bluetooth manager” seems also not to work. Nothing
happens when I try to use it…

 

I need some help, on basic issues. Perhaps some “blueZ for dummies” manual
;)

I hope somebody can help me.

 

Best regards and thanks in advance

 

Esther López Casariego

Radio Software Architect

 

Email: esther.lopez@erzia.com 

 



Advanced Radio Technologies

Critical Mission Wireless communications and test systems

 

ERZIA Technologies S.L.

Eduardo Benot 5, 4D

39003 Santander 

Spain

www.erzia.com

 

 

The information contained in this e-mail and any attachments is confidential
to ERZIA Technologies S.L. and must not be passed to any third party without
permission. This communication is for information only and shall not create
or change any contractual relationship.

 

ERZIA Technologies S.L., Registered in Spain C.I.F. B39540927, Registered
Office: Registro Mercantil Santander, Tomo 783, Libro 0, Sección 8, Folio
99, Hoja S-13883

 

 


[-- Attachment #1.2: Type: text/html, Size: 7952 bytes --]

[-- Attachment #2: image001.jpg --]
[-- Type: image/jpeg, Size: 1813 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bluez-users] Re: BlueZ, Linux and Windows
  2005-06-20 15:20 [Bluez-users] BlueZ, Linux and Windows Esther Lopez
@ 2005-06-24 15:03 ` andreas knuth
  2005-06-27  8:01   ` Esther Lopez
  0 siblings, 1 reply; 4+ messages in thread
From: andreas knuth @ 2005-06-24 15:03 UTC (permalink / raw)
  To: bluez-users

Esther Lopez <esther.lopez <at> erzia.com> writes:

> 
> 
> 
> Hello you all
> 
> I’m quite new at Linux and BlueZ, and I’m having lots of
> problems to get it into work. I have a Linux PC (Fedora 4), a Windws XP PC, 
and
> a Ericsson T630 mobile phone.
> 
> I have also, a TDK Bluetooth USB adapter, and a conceptronic one, both
> found in the BlueZ supported hardware.
> 
>  
> 
> Using the Fedora 4 PC, I have managed to discover the winPC and the
> mobile, but when I try to connect to them an error is displayed (cannot attach
> specified device). I also tried to pair the phone with the Linux PC, but an
> error is displayed in the mobile. When I start the pairing from the Win PC, 
the
> Linux one get’s blocked.
> 
>  
> 
> An application called “Bluetooth manager” seems also not to
> work. Nothing happens when I try to use it…
> 
>  
> 
> I need some help, on basic issues. Perhaps some “blueZ for
> dummies” manual ;)
> 
> I hope somebody can help me.
> 

As one source you could study the information provided by the following link 

http://www.holtmann.org/linux/bluetooth/

special remark: the phones expect normally a running service on the other side 
depending from which menu point in the phone you try to connect to the other 
side.







-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [Bluez-users] Re: BlueZ, Linux and Windows
  2005-06-24 15:03 ` [Bluez-users] " andreas knuth
@ 2005-06-27  8:01   ` Esther Lopez
  2005-06-28 16:08     ` andreas knuth
  0 siblings, 1 reply; 4+ messages in thread
From: Esther Lopez @ 2005-06-27  8:01 UTC (permalink / raw)
  To: bluez-users

Hi Andreas

I have review all information in Bluez home page and the one provided by
you. Most of it is outdated... I haven't managed to get it into work. I
think I'm missing some basic step... Let me explain you what I have =
done...
- Install Fedora 4 (gnome-bluetooth, gnome-bluetooth-libs, =
bluez-hcidump,
bluez-pin, bluez-utils, bluez-libs included)
- hciconfig hci0 up
- hciconfig (shows the device up and running)
- hitool scan
- mknod /dev/rfcomm0 c 216 0
- sdptool browse <addr>
- modify /etc/Bluetooth/rfcomm.conf
	Rfcomm0 { 	bind yes;
			device <addr>;
			channel 1;
			comment "FC4-BT";
		  }
- Create file: /etc/bluetooth/mypin;
	#!bin /bash
	echo "PIN:1111"
- In /etc/Bluetooth/hcid.conf
	pin_helper /etc/Bluetooth/my-pin

- hcid -f /etc/Bluetooth/hcid.conf (to reload file)
- rfcomm connect /dev/rfcomm0 <addr> 1

At this point, my windows PC shows a message requesting the PIN, I type =
1111
but the FC4 box shows: "can't connect to RFCOMM message"

Thanks in advance for your help.

Regards

-----Mensaje original-----
De: bluez-users-admin@lists.sourceforge.net
[mailto:bluez-users-admin@lists.sourceforge.net] En nombre de andreas =
knuth
Enviado el: viernes, 24 de junio de 2005 17:03
Para: bluez-users@lists.sourceforge.net
Asunto: [Bluez-users] Re: BlueZ, Linux and Windows

Esther Lopez <esther.lopez <at> erzia.com> writes:

>=20
>=20
>=20
> Hello you all
>=20
> I=92m quite new at Linux and BlueZ, and I=92m having lots of
> problems to get it into work. I have a Linux PC (Fedora 4), a Windws =
XP
PC,=20
and
> a Ericsson T630 mobile phone.
>=20
> I have also, a TDK Bluetooth USB adapter, and a conceptronic one, both
> found in the BlueZ supported hardware.
>=20
> =A0
>=20
> Using the Fedora 4 PC, I have managed to discover the winPC and the
> mobile, but when I try to connect to them an error is displayed =
(cannot
attach
> specified device). I also tried to pair the phone with the Linux PC, =
but
an
> error is displayed in the mobile. When I start the pairing from the =
Win
PC,=20
the
> Linux one get=92s blocked.
>=20
> =A0
>=20
> An application called =93Bluetooth manager=94 seems also not to
> work. Nothing happens when I try to use it=85
>=20
> =A0
>=20
> I need some help, on basic issues. Perhaps some =93blueZ for
> dummies=94 manual ;)
>=20
> I hope somebody can help me.
>=20

As one source you could study the information provided by the following =
link


http://www.holtmann.org/linux/bluetooth/

special remark: the phones expect normally a running service on the =
other
side=20
depending from which menu point in the phone you try to connect to the =
other

side.







-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. =
http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclick
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bluez-users] Re: BlueZ, Linux and Windows
  2005-06-27  8:01   ` Esther Lopez
@ 2005-06-28 16:08     ` andreas knuth
  0 siblings, 0 replies; 4+ messages in thread
From: andreas knuth @ 2005-06-28 16:08 UTC (permalink / raw)
  To: bluez-users


> 
> Hi Andreas
> 
> I have review all information in Bluez home page and the one provided by
> you. Most of it is outdated... I haven't managed to get it into work. I
> think I'm missing some basic step... Let me explain you what I have done...
> - Install Fedora 4 (gnome-bluetooth, gnome-bluetooth-libs, bluez-hcidump,
> bluez-pin, bluez-utils, bluez-libs included)
> - hciconfig hci0 up
> - hciconfig (shows the device up and running)
> - hitool scan
> - mknod /dev/rfcomm0 c 216 0
> - sdptool browse <addr>
> - modify /etc/Bluetooth/rfcomm.conf
> 	Rfcomm0 { 	bind yes;
> 			device <addr>;
> 			channel 1;
> 			comment "FC4-BT";
> 		  }
> - Create file: /etc/bluetooth/mypin;
> 	#!bin /bash
> 	echo "PIN:1111"
> - In /etc/Bluetooth/hcid.conf
> 	pin_helper /etc/Bluetooth/my-pin
> 
> - hcid -f /etc/Bluetooth/hcid.conf (to reload file)
> - rfcomm connect /dev/rfcomm0 <addr> 1

Hi Esther 

anyhow you should play a little bit with "hcidump -X" for for getting in touch 
with the bluetooth stack communication.

When you would like to connect to another device then you normally would like 
to use (connect to) a service (on that device). For reaching this try to read 
out the service database of the other device (e.g. sdptool search ...). with 
this information you could select the service you would like to connect (on the 
other device). <= e.g. take the corresponding channel on the other device and 
connect to them.

Which address did you used? What is behind the channel 1? Did you checked the 
sdp database on the other device??
Does your hcidump trace shows a successful PIN delivering to the BT-chip (on 
the linux pc)?


When you try to connect your phone (e.g. in the context of sending vcards)to a 
clean bluetooth linux-pc then this will fail beause of missing "active" sdp-
records (eg. OPUSH, HF) with the specific channel number Y, a listening rfcommX 
socket on channel Y and some kind of server functionality (which takes the 
vcard) which will be called from rfcommX.  


Regards Andreas






-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-06-28 16:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-20 15:20 [Bluez-users] BlueZ, Linux and Windows Esther Lopez
2005-06-24 15:03 ` [Bluez-users] " andreas knuth
2005-06-27  8:01   ` Esther Lopez
2005-06-28 16:08     ` andreas knuth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.