pand D-Bus service
Hi Marcel,
We exchanged some emails last month about D-Bus services for pand. I implemented some D-Bus services, but ...
How will be the relationship between the pand and the "metaserver"? It is not clear for me how the other daemons will interact with the current bluez-utils daemons and tools (pand, hidd, dund, rfcomm, ...).
Could you explain me how the D-Bus services will be organized?
The current services implemented for pand are:
- daemon start/stop
- connect/disconnect
- search
- listen start/stop
- udhcp integration for local link address assigment
- automatic bridge creation (using libbridge)
The udhcp doesn't support local link address resolution at the moment. However, there is a patch submited to busybox community that make possible assign IP address to bluetooth interfaces.
Regards,
Claudio.
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi Claudio,
Quoted 6 lines
We exchanged some emails last month about D-Bus services for pand. I implemented some D-Bus services, but ...
How will be the relationship between the pand and the "metaserver"? It is not clear for me how the other daemons will interact with the current bluez-utils daemons and tools (pand, hidd, dund, rfcomm, ...).
forget about the metaserver. This is something KDE specific at the moment.
Quoted 1 line
Could you explain me how the D-Bus services will be organized?
I am not 100% sure at the moment. Need to play with it a little bit more.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi Marcel,
According with your emails, bluetoothd shall provide=20 methods for settings and send signals.
I finished the D-Bus services for pand, now we need define how organize these services.=20
In my opinion the bluetoothd should be responsible for provide all D-Bus services, including pand, hidd, cip, ... Create D-Bus services for each daemon will require=20 monitor a lot of dbus connections. It's easier and more efficient create "profile objects" for each profile inside bluetoothd. Buetoothd can monitor different interfaces and=20 objects.
Currently, my D-Bus pand implementation is providing:
-adapters: show local bluetooth adapters -connect:connect to a bluetooth device -connections: show active connections
-disconnect: kill connections
-enable-bridge: enable automatic bridge creation on listening -find: search for a service
-listen: start/stop listen for bluetooth connections -role: switch the role MASTER|SLAVE
-udhcp:enable UDHCP on listen or connect
-init: initialize the bluez pan daemon (pand) -kill: kill the pand
If you see the code of D-Bus hcid, the D-Bus message control functions are similar. The best approach is move all to daemon directory.
What is your opinion?
Regards,
Claudio.
Quoted 13 lines · Marcel Holtmann
Hi Claudio,
=20Quoted 6 lines
We exchanged some emails last month about D-Bus services for pand. I implemented some D-Bus services, but ...
How will be the relationship between the pand and the "metaserver"? It is not clear for me how the other daemons will interact with the current bluez-utils daemons and tools (pand, hidd, dund, rfcomm, ...).=20
forget about the metaserver. This is something KDE specific at the moment.
=20Quoted 1 line
Could you explain me how the D-Bus services will be organized?
Quoted 13 lines
=20
I am not 100% sure at the moment. Need to play with it a little bit more.
=20
Regards
=20
Marcel
=20
=20
=20
=20
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happen=
ing
Quoted 2 lines
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by H=
P,
Quoted 6 lines
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi Claudio,
Quoted 5 lines
According with your emails, bluetoothd shall provide methods for settings and send signals.
I finished the D-Bus services for pand, now we need define how organize these services.
Quoted 7 lines
In my opinion the bluetoothd should be responsible for provide all D-Bus services, including pand, hidd, cip, ... Create D-Bus services for each daemon will require monitor a lot of dbus connections. It's easier and more efficient create "profile objects" for each profile inside bluetoothd. Buetoothd can monitor different interfaces and objects.
this is my idea and then you can write a simple Python script and use all Bluetooth stuff over D-Bus. This way it should be possible to implement some graphical tools for using Bluetooth.
Quoted 14 lines
Currently, my D-Bus pand implementation is providing:
-adapters: show local bluetooth adapters -connect:connect to a bluetooth device -connections: show active connections
-disconnect: kill connections
-enable-bridge: enable automatic bridge creation on listening -find: search for a service
-listen: start/stop listen for bluetooth connections -role: switch the role MASTER|SLAVE
-udhcp:enable UDHCP on listen or connect
-init: initialize the bluez pan daemon (pand) -kill: kill the pand
Quoted 2 lines
If you see the code of D-Bus hcid, the D-Bus message control functions are similar. The best approach is move all to daemon directory.
The bluetoothd should handle every of these things. However the main focus at the moment is device configuration and the handling of security related stuff. I am not 100% sure about the interface, but in general I like to use something similar to Hal.
Adding interfaces for PAN, HID etc. is not so important for me. Once we have the core stuff running, the should be really easy then.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi Marcel,
My project goal is provide D-Bus support for pand=20 including automatic bridge creation and integration=20 with udhcp.
Setup the bt adapter is a dependency for me. bluetoothd is the daemon that was missing for provide adapter configuration,=20 periodic inquiry and link setup. Some services(list adapters,=20 search, role switch) are being provided by pand D-Bus.=20 I know that is a incorrect approach, but they are required.
I am running behind the schedule, there are a lot projects (UPnP app, games) that require this feature for setup PANs.=20 Is it possible integrate the D-Bus services for pand?
After that can help you moving all code to bluetoothd.
If you what I can help you developing bluetoothd?
Regarding security, what are exactly the points that need by improved or developed?
Regards,
Claudio.
Quoted 45 lines · Marcel Holtmann
Hi Claudio,
=20Quoted 5 lines
According with your emails, bluetoothd shall provide methods for settings and send signals.
I finished the D-Bus services for pand, now we need define how organize these services.Quoted 7 lines
In my opinion the bluetoothd should be responsible for provide all D-Bus services, including pand, hidd, cip, ... Create D-Bus services for each daemon will require monitor a lot of dbus connections. It's easier and more efficient create "profile objects" for each profile inside bluetoothd. Buetoothd can monitor different interfaces and objects.
=20
this is my idea and then you can write a simple Python script and use all Bluetooth stuff over D-Bus. This way it should be possible to implement some graphical tools for using Bluetooth.
=20Quoted 14 lines
Currently, my D-Bus pand implementation is providing:
-adapters: show local bluetooth adapters -connect:connect to a bluetooth device -connections: show active connections
-disconnect: kill connections
-enable-bridge: enable automatic bridge creation on listening -find: search for a service
-listen: start/stop listen for bluetooth connections -role: switch the role MASTER|SLAVE
-udhcp:enable UDHCP on listen or connect
-init: initialize the bluez pan daemon (pand) -kill: kill the pandQuoted 2 lines
If you see the code of D-Bus hcid, the D-Bus message control functions are similar. The best approach is move all to daemon directory.
=20
The bluetoothd should handle every of these things. However the main focus at the moment is device configuration and the handling of security related stuff. I am not 100% sure about the interface, but in general I like to use something similar to Hal.
=20
Adding interfaces for PAN, HID etc. is not so important for me. Once we have the core stuff running, the should be really easy then. =20
Regards
Quoted 8 lines
=20
Marcel
=20
=20
=20
=20
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happen=
ing
Quoted 2 lines
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by H=
P,
Quoted 6 lines
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi Claudio,
Quoted 10 lines
My project goal is provide D-Bus support for pand including automatic bridge creation and integration with udhcp.
Setup the bt adapter is a dependency for me. bluetoothd is the daemon that was missing for provide adapter configuration, periodic inquiry and link setup. Some
services(list adapters, search, role switch)are being provided by pand D-Bus. I know that is a incorrect approach, but they are required.
Quoted 3 lines
I am running behind the schedule, there are a lot projects (UPnP app, games) that require this feature for setup PANs. Is it possible integrate the D-Bus services for pand?
as long as you don't introduce too much dependencies, there should be no problem to include it. Simple send new versions to the mailing list and when I have more time, I review them.
Quoted 1 line
After that can help you moving all code to bluetoothd.
I am going to develop it from scratch. I still have to solve some basic problem with the new kernel interface.
Quoted 1 line
If you what I can help you developing bluetoothd?
Any help is always welcome. I will commit all code and compile it by default, but don't install it.
Quoted 2 lines
Regarding security, what are exactly the points that need by improved or developed?
The PIN code and link key handling for the kernel security manager.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi Marcel,
The latest patch is available in the address below:
http://www.indt.org.br/maemo/zeroconf/bluez/bluez-dbus-patch-00.04
http://www.indt.org.br/maemo/zeroconf/bluez/libbluezdbus-0.2.tar.gz
Dependencies: dbus, libbdrige, udhcp (under conditional flags)
libbluezdbus-0.2.tar.gz is the library to hide D-Bus message details(d-bus connection, message exchange, ...). Inside this library there is a test application (sample/client).
For more information read the RELEASE_NOTES file attached.
My next action is implement periodic inquiry. This feature should be provided by bluetoothd. Before integrate this code we have to define the object path and interface name properly.
Regards,
Claudio.
Quoted 52 lines · Marcel Holtmann
Hi Claudio,
Quoted 10 lines
My project goal is provide D-Bus support for pand including automatic bridge creation and integration with udhcp.
Setup the bt adapter is a dependency for me. bluetoothd is the daemon that was missing for provide adapter configuration, periodic inquiry and link setup. Some
services(list adapters, search, role switch)are being provided by pand D-Bus. I know that is a incorrect approach, but they are required.Quoted 3 lines
I am running behind the schedule, there are a lot projects (UPnP app, games) that require this feature for setup PANs. Is it possible integrate the D-Bus services for pand?
as long as you don't introduce too much dependencies, there should be no problem to include it. Simple send new versions to the mailing list and when I have more time, I review them.
Quoted 1 line
After that can help you moving all code to bluetoothd.
I am going to develop it from scratch. I still have to solve some basic problem with the new kernel interface.
Quoted 1 line
If you what I can help you developing bluetoothd?
Any help is always welcome. I will commit all code and compile it by default, but don't install it.
Quoted 2 lines
Regarding security, what are exactly the points that need by improved or developed?
The PIN code and link key handling for the kernel security manager.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel