Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Ronny Bremer <rbremer@future-gate.com>
Cc: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] WindowsCE and DUND
Date: Thu, 22 Jan 2004 13:24:44 +0100	[thread overview]
Message-ID: <1074774284.19046.33.camel@pegasus> (raw)
In-Reply-To: <20040122T124812Z_5232000B0001@future-gate.com>

Hi Ronny,

> 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?

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.

> 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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

      reply	other threads:[~2004-01-22 12:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-22 11:48 [Bluez-devel] WindowsCE and DUND Ronny Bremer
2004-01-22 12:24 ` Marcel Holtmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1074774284.19046.33.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=rbremer@future-gate.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox