public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] BLUETOOTH ERRER: call_passkey_agent
Date: Mon, 18 Dec 2006 10:38:52 +0100	[thread overview]
Message-ID: <1166434732.6557.58.camel@aeonflux.holtmann.net> (raw)
In-Reply-To: <20061218023808.6ca4c27e@zippo01>

Hi,

> I'm having issues using rfcomm i and getting
> 
> Can't connect RFCOMM channel: Connection refused
> 
> i have bluex-pin and bluepin installed, both simply return PIN:0000 and
> have tried both, also just using passkey "0000" but am lost. here is the
> output i have to work with:
> 
> using:
> bluez-utils 3.7
> bluez-libs 3.7
> linux-2.6.18.2
> I have severl other bluetooth items working a mouse and keyboard.
> All modules are loaded that should be loaded
> $ lsmod
> rfcomm                 36776  0 
> snd_bt_sco             14220  0
> bnep                   13568  0 
> bfusb                  11844  0
> hci_usb                17116  4
> crc32                   4672  1 bnep
> hidp                   14080  2 
> l2cap                  21760  15 rfcomm,bnep,hidp
> 
> $ hcitool scan
> Scanning ...
> 00:16:8F:41:47:FE       Motorola H700
> 
> $ l2ping 00:16:8F:41:47:FE
> Ping: 00:16:8F:41:47:FE from 00:07:61:19:61:FD (data size 44) ...
> 4 bytes from 00:16:8F:41:47:FE id 0 time 28.96ms
> 4 bytes from 00:16:8F:41:47:FE id 1 time 48.53ms
> 2 sent, 2 received, 0% loss
> 
> $ rfcomm connect 0 00:16:8F:41:47:FE 1
> Can't connect RFCOMM socket: Connection refused
> 
> $ btsco -v 00:16:8F:41:47:FE
> btsco v0.42
> Device is 1:0
> Voice setting: 0x0060
> Can't connect RFCOMM channel: Connection refused
> 
> SYSLOG output
> Dec 18 02:18:51 zippo01 hcid[22383]: pin_code_request
> (sba=00:07:61:19:61:FD, dba=00:16:8F:41:47:FE)
> Dec 18 02:18:51 zippo01 hcid[22383]: call_passkey_agent(): no agent
> registered

I think this error is quite clear. You have to register a passkey agent
first. So you can either use the passkey-agent.c example code from the
bluez-utils source or you install bluez-gnome and use its graphical
passkey agent.

Regards

Marcel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      reply	other threads:[~2006-12-18  9:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-18  7:38 [Bluez-users] BLUETOOTH ERRER: call_passkey_agent zippo
2006-12-18  9:38 ` 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=1166434732.6557.58.camel@aeonflux.holtmann.net \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    /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