Skip to contentSkip to conversation

WindowsCE and DUND

Bluez-devel Ronny Bremer 2 participants 2 messages Jan 22, 2004 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi folks,

I am using RedHat Fedora Core 1 with the latest updates. I remember from earlier on, that in order to provide connectivity to a WindowsCE device I need to run dund --listen --msdun call synce-device

which will register with SDP automatically.

2 questions

1) I created a section in /etc/bluetooth/rfcommd.conf called rfcomm1, pointing to channel 1. If I then use dund --listen --msdun -P rfcomm1 call synce-device
will it always listen on channel 1 so once configured devices are connecting to the right channel?

2) In order to sync you need to create an ActiveSync session. This is searching for SP (serial port) service on the linux host, but dund registers LAN service only. Is there any option to have dund register both LAN and SP? Or am I mistaken? And why does calling sdptool add SP
works afterwards, how does it route the request for the SP to dund?

Sorry, but I haven't found the right answers to that one.

Ronny

maintainer
#1 lore raw

Hi Ronny,

Quoted 7 lines

I am using RedHat Fedora Core 1 with the latest updates. I remember from earlier on, that in order to provide connectivity to a WindowsCE device I need to run
dund --listen --msdun call synce-device

which will register with SDP automatically.

Quoted 7 lines

2 questions

1) I created a section in /etc/bluetooth/rfcommd.conf called rfcomm1, pointing to channel 1. If I then use
dund --listen --msdun -P rfcomm1 call synce-device
will it always listen on channel 1 so once configured devices are connecting to the right channel?

the config file rfcomm.conf has nothing to do with dund. Both are different applications and also an outgoing connection to channel 1 and an incoming connection to channel 1 results in two different DLCI's.

And the argument for -P is the only channel number.

Quoted 6 lines

2) In order to sync you need to create an ActiveSync session. This is searching for SP (serial port) service on the linux host, but dund registers LAN service only. Is there any option to have dund register both LAN and SP? Or am I mistaken? And why does calling sdptool add SP
works afterwards, how does it route the request for the SP to dund?

Go ahead and modify the dund application to take another argument like --spp, so it will add a serial port record instead of a LAN service. You don't need both. If you had done this send me a patch.

SDP is like DNS only a lookup database. You can also do anything without it, if you know where and how to connect.

Regards

Marcel

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel