public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "franz keuner" <franz_keuner@gmx.net>
To: Stephen Crane <steve.crane@rococosoft.com>,
	bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] business card transfer problem
Date: Wed, 21 Apr 2004 10:08:56 +0200 (MEST)	[thread overview]
Message-ID: <1269.1082534936@www62.gmx.net> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 3561 bytes --]

hi steve,

thanks for your quick answer. 
that's the answer of my linux computer to hciconfig hci0 class

hci0:   Type: USB
        BD Address: 00:00:00:00:00:00 ACL MTU: 192:8  SCO MTU: 64:8
        Class: 0x000100
        Service Classes: Unspecified
        Device Class: Computer, Uncategorized

i don't know what i have to change exactly here...

i read the bluetooth assigned numbers document. would i have to enter 

hciconfig hci0 class 0x100104

to make the right changes class? (the 1st hex number representing obex file
transfer and the rest represting a desktop computer)

and if that's right, is the pda in contrast to the phone ignoring this
mistake because it's possible to receive businesscards from the pda?

regards,

franz

> Hi Franz,
> Make sure you have the correct class-of-device setting on the Linux box.
> (See hciconfig(8).) Phones and PDAs often don't even bother doing an SDP
> search if the device-class obtained by device discovery doesn't contain
> the correct hint bits.
> 
> Cheers,
> Steve
> 
> On Tue, 2004-04-20 at 09:56, franz keuner wrote:
> > hi marcel,
> > 
> > for quite a while i had no questions concerning bluez and my Sony
> Ericsson
> > P900 ;-)
> > with your help i made a lot of progress.
> > 
> > now i'm trying to send and receive businesscards (version2.1) between
> the
> > linux computer with bluez and the mobile phone.
> > 
> > i installed the openobex package for suse 9.0 and the openobex
> applications.
> > 
> > i can send a businesscard from the linux computer to the mobile phone
> using
> > the obextest tool from the applications package.
> > 
> > but if i try to receive a businesscard from the mobile phone on the
> linux
> > computer with the opd program the phone reports a failure trying to
> transfer
> > the businesscard to the linux computer.
> > 
> > but it works if i try to send the same businesscard from the phone to a
> pda.
> > the pda receives the businesscard correctly.
> > 
> > and if try to receive the businesscard from the pda on the linux
> computer
> > with the opd program this is also working.
> > 
> > i'm sure i'm listening on the right channels. maybe the problem is that
> the
> > phone can't communicate with the opd program waiting for a connection...
> > 
> > do you have any ideas or hints?
> > 
> > regards,
> > 
> > franz
> > 
> > hcidump shows the following trying to the send from the phone to the
> linux
> > computer:
> > 
> > hcidump r
> > HCIDump - HCI packet analyzer ver 1.5
> > device: hci0 snap_len: 1028 filter: 0xffffffff
> > > HCI Event: Connect Request(0x04) plen 10
> > < HCI Command: Accept Connection Request(0x01|0x0009) plen 7
> > > HCI Event: Command Status(0x0f) plen 4
> > > HCI Event: Connect Complete(0x03) plen 11
> > < HCI Command: Write Link Policy Settings(0x02|0x000d) plen 4
> > > HCI Event: Page Scan Repetition Mode Change(0x20) plen 7
> > > HCI Event: Command Complete(0x0e) plen 6
> > < HCI Command: Change Connection Packet Type(0x01|0x000f) plen 4

-- 
NEU : GMX Internet.FreeDSL
Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/dsl



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

             reply	other threads:[~2004-04-21  8:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-21  8:08 franz keuner [this message]
2004-04-21 11:16 ` [Bluez-devel] business card transfer problem Edouard Lafargue
2004-04-21 15:14 ` Stephen Crane
  -- strict thread matches above, loose matches on Subject: below --
2004-04-20  8:56 franz keuner
2004-04-20  9:10 ` Stephen Crane
2004-04-20 11:11 ` Marcel Holtmann
     [not found]   ` <13706.1082531849@www62.gmx.net>
2004-04-21 11:53     ` Marcel Holtmann

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=1269.1082534936@www62.gmx.net \
    --to=franz_keuner@gmx.net \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=steve.crane@rococosoft.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