linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-users] PAND and RFCOMM simultaneously
@ 2004-03-25 12:55 Harald Meier
  2004-03-25 23:38 ` Marcel Holtmann
  0 siblings, 1 reply; 9+ messages in thread
From: Harald Meier @ 2004-03-25 12:55 UTC (permalink / raw)
  To: bluez-users

Dear list members!

I have a NAP/PANU network with pand running and I need to
set up some (up to 4) rfcomm connection additionally.

Setting up the rfcomm devices when the pand is down works fine
but if pand is up, I get a "Function not implemented" when I try
to bring up a rfcomm connection.

If the rfcomm connection is up and I try to connect to the NAP
via pand, I get the "Function not implemented" from pand.

What I am using:

    Debian (not shure what version, was not installed by me)
    kernel 2.4.18-mh10
    bluez-pan-1.1
    bluez-utils-2.4
    bluez-libs-2.5

    Pico Bluetooth PCI Card (Class 1)


any help appreciated,
Harald.


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Bluez-users] PAND and RFCOMM simultaneously
  2004-03-25 12:55 [Bluez-users] PAND and RFCOMM simultaneously Harald Meier
@ 2004-03-25 23:38 ` Marcel Holtmann
  0 siblings, 0 replies; 9+ messages in thread
From: Marcel Holtmann @ 2004-03-25 23:38 UTC (permalink / raw)
  To: Harald Meier; +Cc: BlueZ Mailing List

Hi Harald,

> I have a NAP/PANU network with pand running and I need to
> set up some (up to 4) rfcomm connection additionally.
> 
> Setting up the rfcomm devices when the pand is down works fine
> but if pand is up, I get a "Function not implemented" when I try
> to bring up a rfcomm connection.
> 
> If the rfcomm connection is up and I try to connect to the NAP
> via pand, I get the "Function not implemented" from pand.

tell us more details of your setup. Which devices are involved?
Connections from what devices etc.

Regards

Marcel




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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bluez-users] PAND and RFCOMM simultaneously
@ 2004-03-30  6:25 Harald Meier
  2004-03-30  7:14 ` Marcel Holtmann
  0 siblings, 1 reply; 9+ messages in thread
From: Harald Meier @ 2004-03-30  6:25 UTC (permalink / raw)
  To: bluez-users

[-- Attachment #1: Type: text/plain, Size: 897 bytes --]

Hi Marcel,

All PCs in the PAN are equipped with G+W Instruments PICO Bluetooth PCI
Adapter (class 1).
The Serial Devices are equipped with G+W Instruments Blue Serial Bluetooth
Adapter.
(www.gw-instruments.de)

The init script does the following:

        insmod bt-pci.o            # the driver for the BT-PCI card
        insmod bluez.o
        insmod hci_usb.o
        insmod l2cap.o
        insmod bnep.o
       insmod rfcomm.o

        hcid

        sdpd

        pand --listen --role NAP                                         #
on the NAP
        pand --connect <BT-address-of-NAP> --persist    # in the PANU

The hcid.conf is attached (same for NAP and PANU).

When this is running, I get a "Function not implemented" if I try to connect
to
a different NAP (using pand) or if I try to establish a RFCOMM connection.

Is the sequence of loading the modules ok?


Thanks for help!
Harald.

[-- Attachment #2: hcid.conf --]
[-- Type: application/octet-stream, Size: 1491 bytes --]

#
# HCI daemon configuration file.
#
# $Id: hcid.conf,v 1.3 2002/07/18 18:12:46 maxk Exp $
#

# HCId options
options {
	# Automatically initialize new devices
	autoinit yes;

	# Security Manager mode
	#   none - Security manager disabled
	#   auto - Use local PIN for incoming connections
	#   user - Always ask user for a PIN
	#
	security auto;

	# Pairing mode
	#   none  - Pairing disabled
	#   multi - Allow pairing with already paired devices
	#   once  - Pair once and deny successive attempts
	pairing multi;

	# PIN helper
	#pin_helper /bin/bluepin;
	pin_helper /etc/bluetooth/bluepin;
}

# Default settings for HCI devices
device {
	# Local device name
	#   %d - device id
	#   %h - host name
	name "%h (%d)";

	# Local device class
	class 0x100;

	# Default packet type
	#pkt_type DH1,DM1,HV1;

	# Inquiry and Page scan
	iscan enable; pscan enable;

	# Default link mode
	#   none   - no specific policy 
	#   accept - always accept incoming connections
	#   master - become master on incoming connections,
	#            deny role switch on outgoing connections
	#
	#lm accept,master;
	#
	lm accept,master;

	# Default link policy
	#   none    - no specific policy
	#   rswitch - allow role switch
	#   hold    - allow hold mode
	#   sniff   - allow sniff mode
	#   park    - allow park mode
	#
	#lp hold,sniff;
	#
	lp rswitch,hold,sniff,park;

	# Authentication and Encryption
	auth enable;
	encrypt enable;
}

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Bluez-users] PAND and RFCOMM simultaneously
  2004-03-30  6:25 Harald Meier
@ 2004-03-30  7:14 ` Marcel Holtmann
  2004-03-30 13:31   ` Harald Meier
  2004-04-01  6:13   ` Harald Meier
  0 siblings, 2 replies; 9+ messages in thread
From: Marcel Holtmann @ 2004-03-30  7:14 UTC (permalink / raw)
  To: Harald Meier; +Cc: BlueZ Mailing List

Hi Harald,

> All PCs in the PAN are equipped with G+W Instruments PICO Bluetooth PCI
> Adapter (class 1).
> The Serial Devices are equipped with G+W Instruments Blue Serial Bluetooth
> Adapter.
> (www.gw-instruments.de)
> 
> The init script does the following:
> 
>         insmod bt-pci.o            # the driver for the BT-PCI card
>         insmod bluez.o
>         insmod hci_usb.o
>         insmod l2cap.o
>         insmod bnep.o
>        insmod rfcomm.o
> 
>         hcid
> 
>         sdpd
> 
>         pand --listen --role NAP                                         #
> on the NAP
>         pand --connect <BT-address-of-NAP> --persist    # in the PANU
> 
> The hcid.conf is attached (same for NAP and PANU).
> 
> When this is running, I get a "Function not implemented" if I try to connect
> to
> a different NAP (using pand) or if I try to establish a RFCOMM connection.

maybe your Bluetooth device don't support multiple connections. Show us
the output of "hciconfig -a".

Regards

Marcel




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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Bluez-users] PAND and RFCOMM simultaneously
  2004-03-30  7:14 ` Marcel Holtmann
@ 2004-03-30 13:31   ` Harald Meier
  2004-04-01  6:13   ` Harald Meier
  1 sibling, 0 replies; 9+ messages in thread
From: Harald Meier @ 2004-03-30 13:31 UTC (permalink / raw)
  To: BlueZ Mailing List

[-- Attachment #1: Type: text/plain, Size: 617 bytes --]

Hi Marcel,

the output of hciconfig -a is:

hci0: Type: PCIBD Address: 00:02:78:02:2E:C3 ACL MTU: 192:8 SCO MTU: 64:8

UP RUNNING PSCAN ISCAN

RX bytes:70 acl:0 sco:0 events:7 errors:0

TX bytes:34 acl:0 sco:0 commands:7 errors:0

Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00

Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3

Link policy:

Link mode: SLAVE ACCEPT

Name: 'ka0009 (0)'

Class: 0x000000

Service Classes: Unspecified

Device Class: Miscellaneous,

HCI Ver: 1.1 (0x1) HCI Rev: 0x175 LMP Ver: 1.1 (0x1) LMP Subver:

0x175

Manufacturer: Cambridge Silicon Radio (10)

[-- Attachment #2: Type: text/html, Size: 1540 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Bluez-users] PAND and RFCOMM simultaneously
  2004-03-30  7:14 ` Marcel Holtmann
  2004-03-30 13:31   ` Harald Meier
@ 2004-04-01  6:13   ` Harald Meier
  2004-04-01  7:09     ` Marcel Holtmann
  1 sibling, 1 reply; 9+ messages in thread
From: Harald Meier @ 2004-04-01  6:13 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: BlueZ Mailing List

Hi Marcel,

the output of hciconfig -a is:
    hci0: Type: PCIBD Address: 00:02:78:02:2E:C3 ACL MTU: 192:8 SCO MTU:
64:8
    UP RUNNING PSCAN ISCAN
    RX bytes:70 acl:0 sco:0 events:7 errors:0
    TX bytes:34 acl:0 sco:0 commands:7 errors:0
    Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
    Link policy:
    Link mode: SLAVE ACCEPT
    Name: 'ka0009 (0)'
    Class: 0x000000
    Service Classes: Unspecified
    Device Class: Miscellaneous,
    HCI Ver: 1.1 (0x1) HCI Rev: 0x175 LMP Ver: 1.1 (0x1) LMP Subver:
    0x175
    Manufacturer: Cambridge Silicon Radio (10)

Sorry for the last unformatted output, I pressed accidentally the send
button.

Thanks for any help!

Harald.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Bluez-users] PAND and RFCOMM simultaneously
  2004-04-01  6:13   ` Harald Meier
@ 2004-04-01  7:09     ` Marcel Holtmann
  2004-04-01  8:17       ` Harald Meier
  0 siblings, 1 reply; 9+ messages in thread
From: Marcel Holtmann @ 2004-04-01  7:09 UTC (permalink / raw)
  To: Harald Meier; +Cc: BlueZ Mailing List

Hi Harald,

> the output of hciconfig -a is:
>     hci0: Type: PCIBD Address: 00:02:78:02:2E:C3 ACL MTU: 192:8 SCO MTU:
> 64:8
>     UP RUNNING PSCAN ISCAN
>     RX bytes:70 acl:0 sco:0 events:7 errors:0
>     TX bytes:34 acl:0 sco:0 commands:7 errors:0
>     Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
>     Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
>     Link policy:
>     Link mode: SLAVE ACCEPT
>     Name: 'ka0009 (0)'
>     Class: 0x000000
>     Service Classes: Unspecified
>     Device Class: Miscellaneous,
>     HCI Ver: 1.1 (0x1) HCI Rev: 0x175 LMP Ver: 1.1 (0x1) LMP Subver:
>     0x175
>     Manufacturer: Cambridge Silicon Radio (10)
> 
> Sorry for the last unformatted output, I pressed accidentally the send
> button.

I thought I already answered this, but it seems that I didn't :(

To run an inquiry while you already have an ACL link open, you need at
least the HCI 16.4 firmware on your Bluetooth chip.

Regards

Marcel




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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Bluez-users] PAND and RFCOMM simultaneously
  2004-04-01  7:09     ` Marcel Holtmann
@ 2004-04-01  8:17       ` Harald Meier
  2004-04-01  8:31         ` Marcel Holtmann
  0 siblings, 1 reply; 9+ messages in thread
From: Harald Meier @ 2004-04-01  8:17 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: BlueZ Mailing List

Hi Marcel!

Thank you for this information!

Should I be able to update this chipset firmware with the bluez-fw package?

Thanks for help,
Harald.

----- Original Message -----
From: "Marcel Holtmann" <marcel@holtmann.org>
To: "Harald Meier" <meh1@rts.at>
Cc: "BlueZ Mailing List" <bluez-users@lists.sourceforge.net>
Sent: Thursday, April 01, 2004 9:09 AM
Subject: Re: [Bluez-users] PAND and RFCOMM simultaneously


> Hi Harald,
>
> > the output of hciconfig -a is:
> >     hci0: Type: PCIBD Address: 00:02:78:02:2E:C3 ACL MTU: 192:8 SCO MTU:
> > 64:8
> >     UP RUNNING PSCAN ISCAN
> >     RX bytes:70 acl:0 sco:0 events:7 errors:0
> >     TX bytes:34 acl:0 sco:0 commands:7 errors:0
> >     Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
> >     Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
> >     Link policy:
> >     Link mode: SLAVE ACCEPT
> >     Name: 'ka0009 (0)'
> >     Class: 0x000000
> >     Service Classes: Unspecified
> >     Device Class: Miscellaneous,
> >     HCI Ver: 1.1 (0x1) HCI Rev: 0x175 LMP Ver: 1.1 (0x1) LMP Subver:
> >     0x175
> >     Manufacturer: Cambridge Silicon Radio (10)
> >
> > Sorry for the last unformatted output, I pressed accidentally the send
> > button.
>
> I thought I already answered this, but it seems that I didn't :(
>
> To run an inquiry while you already have an ACL link open, you need at
> least the HCI 16.4 firmware on your Bluetooth chip.
>
> Regards
>
> Marcel
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Bluez-users] PAND and RFCOMM simultaneously
  2004-04-01  8:17       ` Harald Meier
@ 2004-04-01  8:31         ` Marcel Holtmann
  0 siblings, 0 replies; 9+ messages in thread
From: Marcel Holtmann @ 2004-04-01  8:31 UTC (permalink / raw)
  To: Harald Meier; +Cc: BlueZ Mailing List

Hi Harald,

> Should I be able to update this chipset firmware with the bluez-fw package?

No. The explanation is a little bit longer and can be found in the
mailing list archives.

Regards

Marcel




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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-04-01  8:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-25 12:55 [Bluez-users] PAND and RFCOMM simultaneously Harald Meier
2004-03-25 23:38 ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2004-03-30  6:25 Harald Meier
2004-03-30  7:14 ` Marcel Holtmann
2004-03-30 13:31   ` Harald Meier
2004-04-01  6:13   ` Harald Meier
2004-04-01  7:09     ` Marcel Holtmann
2004-04-01  8:17       ` Harald Meier
2004-04-01  8:31         ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).