Skip to contentSkip to conversation

Some documentation

Bluez-users Filipa Duarte 5 participants 7 messages Feb 8, 2005 – Feb 28, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Dear all,

I do not want to push the discussion about BlueZ documentation further, however I found a document that could help some of you:

http://affix.sourceforge.net/affix-tech-doc/1.0/index.html

Although this document is written for Affix (another Bluetooth protocol stack for Linux - I know that this could be considered unpolite...) I believe that the "General Architecture" chapter should be similar to the BlueZ Architecture (Marcel, could you please confirm this?).

This document help me understanding what parts of the stack are on the Kernel Space and on the User Space and how they interact. And... I did not have to "follow the code" yet ;))!

Good luck.

Regards,

Filipa Duarte

__________________________________
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
http://info.mail.yahoo.com/mail_250

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Filipa,

Quoted 4 lines

I do not want to push the discussion about BlueZ documentation further, however I found a document that could help some of you:

Quoted 8 lines

http://affix.sourceforge.net/affix-tech-doc/1.0/index.html

Although this document is written for Affix (another Bluetooth protocol stack for Linux - I know that this could be considered unpolite...) I believe that the "General Architecture" chapter should be similar to the BlueZ Architecture (Marcel, could you please confirm this?).

the core architecture is different, because BlueZ hardware is not a network device. The IrDA stack made this mistake and so did Affix. The BlueZ uses its own hardware interface. Our driver interface is a lot much cleaner.

Quoted 4 lines

This document help me understanding what parts of the stack are on the Kernel Space and on the User Space and how they interact. And... I did not have to "follow the code" yet ;))!

I wrote some articles for German magazines and there are also some papers on the web. And a lot of my presentation slides are available.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw

[Bluez-users] IP address

Hi all,
I intend to create a wireless network of laptops using bt-dongles. I know that, first "pand -c <btaddr>" creates a connection and a bnep interface, then an ip-address can be set to the bnep (ifconfig bnepX <ipaddr>)
Is it possible to assign the ip-address to each laptop/dongle before creating connections?
Suppose that the ip-addressess of devices in a coverage area are set and known. I'd like that involved laptops can require connection among themselves using the ipaddress instead of btaddr.
Does BlueZ meet my requirements?
Thanks a lot.
Jers

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#3 lore raw

Re: [Bluez-users] IP address

Hi Jers,

Quoted 6 lines

I intend to create a wireless network of laptops using bt-dongles. I know that, first "pand -c <btaddr>" creates a connection and a bnep interface, then an ip-address can be set to the bnep (ifconfig bnepX <ipaddr>)
Is it possible to assign the ip-address to each laptop/dongle before creating connections?

can you set the IP address for a network card that is not present in your machine?

Quoted 4 lines

Suppose that the ip-addressess of devices in a coverage area are set and known. I'd like that involved laptops can require connection among themselves using the ipaddress instead of btaddr.
Does BlueZ meet my requirements?

It is not not working this way.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#4 lore raw

Re: [Bluez-users] IP address

In reply to Jers

Hi,

Quoted 2 lines

Is it possible to assign the ip-address to each laptop/dongle before creating connections?

I depends on distribution.
In Mandrake, Redhat and maybe others you can preconfigure parameters for first bnep interface in file:
/etc/sysconfig/network-scripts/ifcfg-bnep0
File looks like this:
-----
DEVICE=bnep0
BOOTPROTO=static
IPADDR=192.168.100.1
NETMASK=255.255.255.252
ONBOOT=no
-----

bnep1 can look like this:
-----
DEVICE=bnep1
BOOTPROTO=static
IPADDR=192.168.100.5
NETMASK=255.255.255.252
ONBOOT=no
-----

This is example for configuring many Point-to-Point BNEP connections. IP 1 with 2, 5 with 6 etc...
You must have enabled routing in kernel.
For automatic enabling/disabling you must have functional hotplug.

If you want LAN with one big address space like 192.168.1.0 with mask 255.255.255.0, you must run bridge on your machine.

Some documentation is here:
http://bluez.sourceforge.net/contrib/HOWTO-PAN

Best regards,

Pavel Ruzicka

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#5 lore raw
In reply to Marcel Holtmann

Hi Marcel,

Quoted 2 lines

the core architecture is different, because BlueZ
hardware is not a network device.

Wath do you mean?

Quoted 3 lines

The IrDA stack made this mistake and
so did Affix. The
BlueZ uses its own hardware interface.

wich one ? hci_usb.c? affix also have one: btusb.c

Quoted 1 line

Our driver interface is a lot much cleaner.

Can you give more details?

tank you for your clarifications.
regards,
imad

Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#6 lore raw

Hi Imad,

Quoted 9 lines
Quoted 2 lines

the core architecture is different, because BlueZ
hardware is not a network device.

Wath do you mean?

Quoted 3 lines

The IrDA stack made this mistake and
so did Affix. The
BlueZ uses its own hardware interface.

Quoted 5 lines

wich one ? hci_usb.c? affix also have one: btusb.c

Quoted 1 line

Our driver interface is a lot much cleaner.

Can you give more details?

check the mailing list archive for a detailed analysis from Max.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users